[jira] [Updated] (HBASE-6456) Export Utility throws ClassNotFoundException
[ https://issues.apache.org/jira/browse/HBASE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-6456: -- Resolution: Cannot Reproduce Assignee: (was: Shane Huang) Hadoop Flags: (was: Reviewed) Status: Resolved (was: Patch Available) Reopen if still an issue with recent releases > Export Utility throws ClassNotFoundException > > > Key: HBASE-6456 > URL: https://issues.apache.org/jira/browse/HBASE-6456 > Project: HBase > Issue Type: Bug > Components: mapreduce, util >Affects Versions: 0.95.2 >Reporter: Shane Huang >Priority: Minor > Attachments: HBASE-6456.patch > > > The command I ran is as below: > "bin/hbase org.apache.hadoop.hbase.mapreduce.Driver export t1 ./t1" > And I got the following exceptions: > attempt_201207261322_0002_m_00_0, Status : FAILED > Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.util.Bytes > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:150) > at > org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputFormat.java:100) > at > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:767) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371) > at org.apache.hadoop.mapred.Child$4.run(Child.java:266) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.au > ... > This exception can be resolved by adding hbase common jar into > HADOOP_CLASSPATH. But this is an extra step for users and not so convenient. > We could add Bytes.class into dependency Jars of the MapReduce job. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HBASE-6456) Export Utility throws ClassNotFoundException
[ https://issues.apache.org/jira/browse/HBASE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-6456: - Affects Version/s: (was: 0.94.2) I see. I removed 0.94.2 as affected version then. This is probably due to the modularization of HBase in 0.96 then, there will likely be other classes missing. > Export Utility throws ClassNotFoundException > > > Key: HBASE-6456 > URL: https://issues.apache.org/jira/browse/HBASE-6456 > Project: HBase > Issue Type: Bug > Components: mapred, mapreduce, util >Affects Versions: 0.96.0 >Reporter: Shengsheng Huang >Assignee: Shengsheng Huang >Priority: Minor > Attachments: HBASE-6456.patch > > > The command I ran is as below: > "bin/hbase org.apache.hadoop.hbase.mapreduce.Driver export t1 ./t1" > And I got the following exceptions: > attempt_201207261322_0002_m_00_0, Status : FAILED > Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.util.Bytes > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:150) > at > org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputFormat.java:100) > at > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:767) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371) > at org.apache.hadoop.mapred.Child$4.run(Child.java:266) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.au > ... > This exception can be resolved by adding hbase common jar into > HADOOP_CLASSPATH. But this is an extra step for users and not so convenient. > We could add Bytes.class into dependency Jars of the MapReduce job. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-6456) Export Utility throws ClassNotFoundException
[ https://issues.apache.org/jira/browse/HBASE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell updated HBASE-6456: -- Component/s: util mapreduce mapred Affects Version/s: 0.94.2 0.96.0 > Export Utility throws ClassNotFoundException > > > Key: HBASE-6456 > URL: https://issues.apache.org/jira/browse/HBASE-6456 > Project: HBase > Issue Type: Bug > Components: mapred, mapreduce, util >Affects Versions: 0.96.0, 0.94.2 >Reporter: Shengsheng Huang >Assignee: Shengsheng Huang >Priority: Minor > Attachments: HBASE-6456.patch > > > The command I ran is as below: > "bin/hbase org.apache.hadoop.hbase.mapreduce.Driver export t1 ./t1" > And I got the following exceptions: > attempt_201207261322_0002_m_00_0, Status : FAILED > Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.util.Bytes > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:150) > at > org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputFormat.java:100) > at > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:767) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371) > at org.apache.hadoop.mapred.Child$4.run(Child.java:266) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.au > ... > This exception can be resolved by adding hbase common jar into > HADOOP_CLASSPATH. But this is an extra step for users and not so convenient. > We could add Bytes.class into dependency Jars of the MapReduce job. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-6456) Export Utility throws ClassNotFoundException
[ https://issues.apache.org/jira/browse/HBASE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Ted Yu updated HBASE-6456: -- Hadoop Flags: Reviewed Status: Patch Available (was: Open) > Export Utility throws ClassNotFoundException > > > Key: HBASE-6456 > URL: https://issues.apache.org/jira/browse/HBASE-6456 > Project: HBase > Issue Type: Bug >Reporter: Shengsheng Huang >Priority: Minor > Attachments: HBASE-6456.patch > > > The command I ran is as below: > "bin/hbase org.apache.hadoop.hbase.mapreduce.Driver export t1 ./t1" > And I got the following exceptions: > attempt_201207261322_0002_m_00_0, Status : FAILED > Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.util.Bytes > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:150) > at > org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputFormat.java:100) > at > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:767) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371) > at org.apache.hadoop.mapred.Child$4.run(Child.java:266) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.au > ... > This exception can be resolved by adding hbase common jar into > HADOOP_CLASSPATH. But this is an extra step for users and not so convenient. > We could add Bytes.class into dependency Jars of the MapReduce job. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HBASE-6456) Export Utility throws ClassNotFoundException
[ https://issues.apache.org/jira/browse/HBASE-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shengsheng Huang updated HBASE-6456: Attachment: HBASE-6456.patch Attached a patch for it > Export Utility throws ClassNotFoundException > > > Key: HBASE-6456 > URL: https://issues.apache.org/jira/browse/HBASE-6456 > Project: HBase > Issue Type: Bug >Reporter: Shengsheng Huang >Priority: Minor > Attachments: HBASE-6456.patch > > > The command I ran is as below: > "bin/hbase org.apache.hadoop.hbase.mapreduce.Driver export t1 ./t1" > And I got the following exceptions: > attempt_201207261322_0002_m_00_0, Status : FAILED > Error: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.util.Bytes > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > at org.apache.hadoop.hbase.client.HTable.(HTable.java:150) > at > org.apache.hadoop.hbase.mapreduce.TableInputFormat.setConf(TableInputFormat.java:100) > at > org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62) > at > org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117) > at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:767) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371) > at org.apache.hadoop.mapred.Child$4.run(Child.java:266) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.au > ... > This exception can be resolved by adding hbase common jar into > HADOOP_CLASSPATH. But this is an extra step for users and not so convenient. > We could add Bytes.class into dependency Jars of the MapReduce job. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira