You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by "Sivasubramaniam, Latha" <La...@Aspect.com> on 2014/12/16 01:08:18 UTC

Trying to import data

I am trying to import data into HBase table and tried the following as an example,

bin/hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.columns=HBASE_ROW_KEY,b,c datatsv hdfs://data.tsv - this command complains about data.tsv not existing in HDFS, when I run hadoop fs -ls , I do see the file.

Then I am trying the following with the data.tsv as a local file

bin/hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.columns=HBASE_ROW_KEY,b,c datatsv /home/hadoop/BigdataEDW/data.tsv

and get the following, I tried both without and with HBase table datatsv created.

2014-12-15 17:52:25,449 INFO  [main] client.RMProxy: Connecting to ResourceManager at rtr-dev-spark4/10.153.24.132:8032
2014-12-15 17:52:25,559 INFO  [main] Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS
2014-12-15 17:52:25,562 INFO  [main] Configuration.deprecation: mapred.output.value.class is deprecated. Instead, use mapreduce.job.output.value.class
2014-12-15 17:52:25,562 INFO  [main] Configuration.deprecation: mapreduce.job.counters.limit is deprecated. Instead, use mapreduce.job.counters.max
2014-12-15 17:52:25,565 INFO  [main] Configuration.deprecation: dfs.permissions is deprecated. Instead, use dfs.permissions.enabled
2014-12-15 17:52:25,567 INFO  [main] Configuration.deprecation: mapreduce.outputformat.class is deprecated. Instead, use mapreduce.job.outputformat.class
2014-12-15 17:52:25,569 INFO  [main] Configuration.deprecation: mapred.output.key.class is deprecated. Instead, use mapreduce.job.output.key.class
2014-12-15 17:52:25,571 INFO  [main] Configuration.deprecation: io.bytes.per.checksum is deprecated. Instead, use dfs.bytes-per-checksum
2014-12-15 17:52:25,604 INFO  [main] mapreduce.TableOutputFormat: Created table instance for datatsv
2014-12-15 17:52:26,806 INFO  [main] ipc.Client: Retrying connect to server: rtr-dev-spark4/10.153.24.132:8032. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
2014-12-15 17:52:27,809 INFO  [main] ipc.Client: Retrying connect to server: rtr-dev-spark4/10.153.24.132:8032. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

Help is appreciated.

Thanks,
Latha
This email (including any attachments) is proprietary to Aspect Software, Inc. and may contain information that is confidential. If you have received this message in error, please do not read, copy or forward this message. Please notify the sender immediately, delete it from your system and destroy any copies. You may not further disclose or distribute this email or its attachments.