Member since
04-22-2016
931
Posts
46
Kudos Received
26
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1852 | 10-11-2018 01:38 AM | |
| 2217 | 09-26-2018 02:24 AM | |
| 2245 | 06-29-2018 02:35 PM | |
| 2914 | 06-29-2018 02:34 PM | |
| 6094 | 06-20-2018 04:30 PM |
06-06-2018
07:35 PM
as you see I am using the right jar which has the HbaseConfiguration but why its not finding it ? #java -classpath /usr/hdp/2.6.4.0-91/hadoop/client/hadoop-common.jar:. RetriveData
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
at RetriveData.main(RetriveData.java:16)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more
# jar tvf /usr/hdp/2.6.4.0-91/hbase/lib/hbase-common.jar | grep "org/apache/hadoop/hbase/HBaseConfiguration"
9678 Thu Jan 04 10:27:46 EST 2018 org/apache/hadoop/hbase/HBaseConfiguration.class
... View more
06-06-2018
07:16 PM
I am able to compile the code as follows : javac -classpath /usr/hdp/2.6.4.0-91/hadoop/client/hadoop-common.jar:/usr/hdp/2.6.4.0-91/hbase/lib/* RetriveData.java
Note: RetriveData.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details. but I cant run it , I tried all types of libraries in the classpath java -classpath /usr/hdp/2.6.4.0-91/hadoop/client/hadoop-common.jar:/usr/hdp/2.6.4.0-91/hbase/lib/*.jar:. RetriveData
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
at RetriveData.main(RetriveData.java:16)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... View more
Labels:
05-22-2018
04:14 PM
nifi is filling up my /var folder and I want to move the content_repository and the flowfile_repository folders to some other location .
... View more
Labels:
05-02-2018
01:28 PM
hi Shu you wrote and you are right ..its importing only one record with m1 on each run . I tried 4 sqoop loads and got 4 versions.
that means sqoop import to hbase table will not store all the versions but from hbase shell it will store all the versions) is it a bug or feature ? is Hortonworks aware of this and what is their comment ?
... View more
04-23-2018
04:39 PM
no still I see 3 version. can someone try to reproduce this on their end ? hbase(main):001:0> scan 'PUR_ACCT_PHX1',{VERSIONS=>40}
ROW COLUMN+CELL
1001181 column=cf1:ACCTSTAT_ACCT_STATUS_CODE, timestamp=1524501493799, value=01
1001181 column=cf1:ACCTSTAT_ACCT_STATUS_CODE, timestamp=1524501436206, value=01
1001181 column=cf1:ACCTSTAT_ACCT_STATUS_CODE, timestamp=1524501358930, value=01
1001181 column=cf1:ACCTTYPE_ACCT_TYPE_CODE, timestamp=1524501493799, value=01
1001181 column=cf1:ACCTTYPE_ACCT_TYPE_CODE, timestamp=1524501436206, value=01
1001181 column=cf1:ACCTTYPE_ACCT_TYPE_CODE, timestamp=1524501358930, value=01
1001181 column=cf1:EMP_EMP_CODE, timestamp=1524501493799, value=9999
1001181 column=cf1:EMP_EMP_CODE, timestamp=1524501436206, value=9999
1001181 column=cf1:EMP_EMP_CODE, timestamp=1524501358930, value=9999
... View more
04-23-2018
02:16 PM
also share your sqoop command please
... View more
04-20-2018
07:49 PM
hi Harald your command gives the same output as mine with three versions only. there is something else going on here than the command syntax I think. btw if I create any other table locally I can store more than 3 versions , so it has something to do with how sqoop is loading data into hbase
... View more
04-20-2018
03:20 PM
no this command is not correct hbase(main):023:0> scan 'PUR_ACCT_PHX',{VERSIONS >=40}
SyntaxError: (hbase):23: odd number list for Hash.scan 'PUR_ACCT_PHX',{VERSIONS >=40}
... View more