hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8944) Runtime NullPointerException in MiniDFSCluster on CentOS and other Linux
Date Mon, 15 Jul 2013 18:00:53 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13708743#comment-13708743

David Williams commented on HBASE-8944:

Hi Stack, I'm checking out the source tree now.  The sources aren't included on Maven Central.
Should know more when its down checking out.  I am going to need to identify which branch
the 1.2.0 build is based on. 
> Runtime NullPointerException in MiniDFSCluster on CentOS and other Linux
> ------------------------------------------------------------------------
>                 Key: HBASE-8944
>                 URL: https://issues.apache.org/jira/browse/HBASE-8944
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.6,
>            Reporter: David Williams
> The HBaseTestingUtility appears to have an unhandled NullPointerException in certain
environments.   It works on Apache HBase on Mac OSX but not in certain Linux environments
such as CentOS. 
> In Java:
> {code}
> HBaseTestingUtility testingUtility = new HBaseTestingUtility();
> testingUtility.startMiniCluster(1);  // blows up on CentOS Linux but not Mac OSX
> {code}
> Creates this exception:
> {code}
> ERROR in (create-table) (MiniDFSCluster.java:426)
> Uncaught exception, not in assertion.
> expected: nil
>   actual: java.lang.NullPointerException: null
>  at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes (MiniDFSCluster.java:426)
>     org.apache.hadoop.hdfs.MiniDFSCluster.<init> (MiniDFSCluster.java:284)
>     org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster (HBaseTestingUtility.java:444)
>     org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster (HBaseTestingUtility.java:612)
>     org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster (HBaseTestingUtility.java:568)
>     org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster (HBaseTestingUtility.java:555)
> {code}
> I also created a stack overflow ticket here, with more info:
> http://stackoverflow.com/questions/17625938/hbase-minidfscluster-java-fails-in-certain-environments

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message