You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/01/12 02:08:54 UTC
[jira] Created: (HBASE-2114) Can't start HBase in trunk
Can't start HBase in trunk
--------------------------
Key: HBASE-2114
URL: https://issues.apache.org/jira/browse/HBASE-2114
Project: Hadoop HBase
Issue Type: Bug
Reporter: Jean-Daniel Cryans
Assignee: Jean-Daniel Cryans
Fix For: 0.21.0
The new Configuration update HBASE-2036 didn't change the main methods in HRegionServer and HMaster, can't start hbase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-2114) Can't start HBase in trunk
Posted by "Kay Kay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kay Kay updated HBASE-2114:
---------------------------
Attachment: HBASE-2114-ivy-log4j.patch
log4j moved from test config to common config to address issue mentioned.
> Can't start HBase in trunk
> --------------------------
>
> Key: HBASE-2114
> URL: https://issues.apache.org/jira/browse/HBASE-2114
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Fix For: 0.21.0
>
> Attachments: HBASE-2114-ivy-log4j.patch, HBASE-2114.patch
>
>
> The new Configuration update HBASE-2036 didn't change the main methods in HRegionServer and HMaster, can't start hbase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HBASE-2114) Can't start HBase in trunk
Posted by "Kay Kay (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12798984#action_12798984 ]
Kay Kay commented on HBASE-2114:
--------------------------------
Try the ivy patch attached. log4j was not available in lib/common , but in lib/test . (Not sure - from where is this being invoked - as a test case , from junit ).
> Can't start HBase in trunk
> --------------------------
>
> Key: HBASE-2114
> URL: https://issues.apache.org/jira/browse/HBASE-2114
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Fix For: 0.21.0
>
> Attachments: HBASE-2114-ivy-log4j.patch, HBASE-2114.patch
>
>
> The new Configuration update HBASE-2036 didn't change the main methods in HRegionServer and HMaster, can't start hbase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HBASE-2114) Can't start HBase in trunk
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans updated HBASE-2114:
--------------------------------------
Attachment: HBASE-2114.patch
This patch fixes both HMaster and HRS. It uncovers what seems like a problem with Ivy:
{code}
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Level
at org.apache.hadoop.mapred.JobConf.<clinit>(JobConf.java:336)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1070)
at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:86)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:70)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:123)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1751)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:71)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1780)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1768)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:195)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:103)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:170)
{code}
I ant cleaned, rm -rf'ed my ivy cache too still doesn't fetch log4j or something.
> Can't start HBase in trunk
> --------------------------
>
> Key: HBASE-2114
> URL: https://issues.apache.org/jira/browse/HBASE-2114
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Fix For: 0.21.0
>
> Attachments: HBASE-2114.patch
>
>
> The new Configuration update HBASE-2036 didn't change the main methods in HRegionServer and HMaster, can't start hbase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HBASE-2114) Can't start HBase in trunk
Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HBASE-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans resolved HBASE-2114.
---------------------------------------
Resolution: Fixed
Hadoop Flags: [Reviewed]
Thanks Kay Kay! I committed both patches to trunk.
> Can't start HBase in trunk
> --------------------------
>
> Key: HBASE-2114
> URL: https://issues.apache.org/jira/browse/HBASE-2114
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Fix For: 0.21.0
>
> Attachments: HBASE-2114-ivy-log4j.patch, HBASE-2114.patch
>
>
> The new Configuration update HBASE-2036 didn't change the main methods in HRegionServer and HMaster, can't start hbase.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.