Member since
12-09-2015
43
Posts
18
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
13267 | 12-17-2015 07:27 AM |
03-18-2016
02:40 PM
HDP 2.3.0 hadoop 2.7.1 Hbase 1.1.1 i already include below dependencies jar /usr/hdp/2.3.0.0-2557/hbase/lib/
... View more
03-18-2016
02:33 PM
1 Kudo
hadoop jar /root/hbase.jar MyfirstHBaseTable
WARNING: Use "yarn jar" to launch YARN applications.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/HBaseConfiguration
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:278)
at org.apache.hadoop.util.RunJar.run(RunJar.java:214)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.HBaseConfiguration
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 4 more import java.io.IOException;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.hbase.HBaseConfiguration;import org.apache.hadoop.hbase.HColumnDescriptor;import org.apache.hadoop.hbase.HTableDescriptor;import org.apache.hadoop.hbase.client.HBaseAdmin;publicclassMyfirstHBaseTable{publicstaticvoid main(String[] args)throwsIOException{HBaseConfiguration hconfig =newHBaseConfiguration(newConfiguration());HTableDescriptor htable =newHTableDescriptor("User");
htable.addFamily(newHColumnDescriptor("Id"));
htable.addFamily(newHColumnDescriptor("Name"));System.out.println("Connecting...");HBaseAdmin hbase_admin =newHBaseAdmin( hconfig );System.out.println("Creating Table...");
hbase_admin.createTable( htable );System.out.println("Done!");}}
... View more
Labels:
- Labels:
-
Apache HBase
02-29-2016
06:39 AM
1 Kudo
i got this error message [root@sandbox ~]# bin/nutch fetch 1456727546-2019589981 Exception in thread "main" java.lang.RuntimeException: job failed: name=apache-nutch-2.3.1.jar, jobid=job_local522155708_0001 at org.apache.nutch.util.NutchJob.waitForCompletion(NutchJob.java:120) at org.apache.nutch.fetcher.FetcherJob.run(FetcherJob.java:205) at org.apache.nutch.fetcher.FetcherJob.fetch(FetcherJob.java:251) at org.apache.nutch.fetcher.FetcherJob.run(FetcherJob.java:314) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.nutch.fetcher.FetcherJob.main(FetcherJob.java:322)
... View more
02-29-2016
04:36 AM
2 Kudos
i want crawl the web urls information using nutch and store the data in hbase db. any one can suggest for how to do this with some example. bcoz i am new one for nutch.
... View more
Labels:
- Labels:
-
Apache HBase
01-25-2016
07:51 AM
i just want know how to upgrade and downgrade
... View more
01-25-2016
07:49 AM
@Paul Boali just want d3 for ad hoc data visualization
... View more
01-25-2016
04:41 AM
i got this worning message Append mode for hive imports is not yet supported. Please remove the parameter --append-mode
... View more
01-25-2016
04:39 AM
thanks @ Predrag Minovic and also now i find solution please change append sqoop job --create incjob --import--connect jdbc:mysql://localhost:3306/test --driver com.mysql.jdbc.Driver --username it1 --password hadoop --table st1 --incremental append -check-column ts --target-dir sqin -m 1 --merge-key id --last-value 0
... View more
01-23-2016
07:14 AM
1 Kudo
sqoop incremental import i got this below error ,how can i solve that i am using hortonworks 2.3 Append mode for hive imports is not yet supported. Please remove the parameter --append-mode
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Sqoop
01-22-2016
05:22 AM
Now i am using time lastmodified in this case , full data move into the hbase , i want only move new record ,how can i do that
... View more