Member since
01-29-2019
1
Post
0
Kudos Received
0
Solutions
01-29-2019
04:10 PM
Getting following errors while import....................... hduser@Neha-PC:/usr/local/hbase-1.4.9$ bin/hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.separator=',' -Dimporttsv.columns='HBASE_ROW_KEY,cf:ename,cf:designation,cf:manager,cf:hire_date,cf:sal,cf:deptno' emp_data /hbase/data/emp_data.csv SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/local/hbase-1.4.9/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/hadoop-2.9.2/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] 2019-01-29 17:35:39,621 INFO [main] zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0xc0c2f8d connecting to ZooKeeper ensemble=localhost:2184 2019-01-29 17:35:39,629 INFO [main] zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.10-39d3a4f269333c922ed3db283be479f9deacaa0f, built on 03/23/2017 10:13 GMT 2019-01-29 17:35:39,629 INFO [main] zookeeper.ZooKeeper: Client environment:host.name=localhost 2019-01-29 17:35:39,629 INFO [main] zookeeper.ZooKeeper: Client environment:java.version=1.8.0_191 2019-01-29 17:35:39,629 INFO [main] zookeeper.ZooKeeper: Client environment:java.vendor=Oracle Corporation 2019-01-29 17:35:39,629 INFO [main] zookeeper.ZooKeeper: Client environment:java.home=/usr/lib/jvm/java-8-openjdk-amd64/jre 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: hadoop/mapreduce/lib/commons-io-2.4.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/lib/asm-3.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.9.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.9.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.9.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.9.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.9.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.9.2-tests.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.9.2.jar:/usr/local/hadoop-2.9.2/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.9.2.jar:/contrib/capacity-scheduler/*.jar 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:java.library.path=/usr/local/hadoop-2.9.2/lib/native 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:java.compiler=<NA> 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:os.name=Linux 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:os.arch=amd64 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:os.version=4.15.0-43-generic 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:user.name=hduser 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:user.home=/home/hduser 2019-01-29 17:35:39,630 INFO [main] zookeeper.ZooKeeper: Client environment:user.dir=/usr/local/hbase-1.4.9 2019-01-29 17:35:39,631 INFO [main] zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2184 sessionTimeout=90000 watcher=org.apache.hadoop.hbase.zookeeper.PendingWatcher@15ca7889 2019-01-29 17:35:39,659 INFO [main-SendThread(localhost:2184)] zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2184. Will not attempt to authenticate using SASL (unknown error) 2019-01-29 17:35:39,669 INFO [main-SendThread(localhost:2184)] zookeeper.ClientCnxn: Socket connection established to localhost/127.0.0.1:2184, initiating session 2019-01-29 17:35:39,687 INFO [main-SendThread(localhost:2184)] zookeeper.ClientCnxn: Session establishment complete on server localhost/127.0.0.1:2184, sessionid = 0x168991f2b14000d, negotiated timeout = 90000 2019-01-29 17:35:41,252 ERROR [main] mapreduce.ImportTsv: Table 'emp_data' does not exist. 2019-01-29 17:35:41,252 INFO [main] client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x168991f2b14000d 2019-01-29 17:35:41,262 INFO [main] zookeeper.ZooKeeper: Session: 0x168991f2b14000d closed Exception in thread "main" org.apache.hadoop.hbase.TableNotFoundException: Table 'emp_data' does not exist. at org.apache.hadoop.hbase.mapreduce.ImportTsv.createSubmittableJob(ImportTsv.java:568) at org.apache.hadoop.hbase.mapreduce.ImportTsv.run(ImportTsv.java:781) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at org.apache.hadoop.hbase.mapreduce.ImportTsv.main(ImportTsv.java:794) 2019-01-29 17:35:41,267 INFO [main-EventThread] zookeeper.ClientCnxn: EventThread shut down for session: 0x168991f2b14000d
... View more