Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Chukwa >> mail # dev >> [VOTE] Branch for Chukwa 0.5.0 release


Copy link to this message
-
Re: [VOTE] Branch for Chukwa 0.5.0 release
+1

On Mon, Dec 12, 2011 at 10:41 PM, Bill Graham <[EMAIL PROTECTED]> wrote:
> +1
>
> The tests passed on my home machine. Still not sure why it didn't on my
> other one.
>
>
> On Sat, Dec 10, 2011 at 7:26 PM, Eric Yang <[EMAIL PROTECTED]> wrote:
>>
>> This error is generated when MiniDFSCluster can not resolve the local
>> ip address or hostname.
>> Make sure the test machine has network setup properly.  Hope this helps.
>>
>> regards,
>> Eric
>>
>> On Sat, Dec 10, 2011 at 7:04 PM, Bill Graham <[EMAIL PROTECTED]> wrote:
>> > Starting DataNode 0 with dfs.data.dir:
>> >
>> > /Users/billg/ws/svn/chukwa/target/test/classes/target/test-data/f104e7b0-0999-4234-9df8-290189ec3674/dfs/data/data1,/Users/billg/ws/svn/chukwa/target/test/classes/target/test-data/f104e7b0-0999-4234-9df8-290189ec3674/dfs/data/data2
>> >
>> > java.lang.NullPointerException
>> >
>> >
>> >         at
>> >
>> > org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:422)
>> >
>> >         at
>> > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:280)
>> >
>> >         at
>> >
>> > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:223)
>> >
>> >         at
>> >
>> > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:345)
>> >
>> >         at
>> >
>> > org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:308)
>> >
>> >         at
>> >
>> > org.apache.hadoop.chukwa.datacollection.writer.TestHBaseWriter.<init>(TestHBaseWriter.java:66)
>> >
>> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> > Method)
>> >
>> >         at
>> >
>> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> >
>> >         at
>> >
>> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> >
>> >         at
>> > java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>> >
>> >         at junit.framework.TestSuite.createTest(TestSuite.java:61)
>> >
>> >         at junit.framework.TestSuite.addTestMethod(TestSuite.java:294)
>> >
>> >         at
>> > junit.framework.TestSuite.addTestsFromTestCase(TestSuite.java:150)
>> >
>> >         at junit.framework.TestSuite.<init>(TestSuite.java:129)
>> >
>> >
>> > On Fri, Dec 9, 2011 at 11:34 PM, Eric Yang <[EMAIL PROTECTED]> wrote:
>> >>
>> >> TestHBaseWriter works on my side without setting HBASE_CONF_DIR.  In
>> >> the exception, it has printed additional stacktrace to stdout.  Could
>> >> you paste the output in
>> >>
>> >>
>> >> target/test-reports/org.apache.hadoop.chukwa.datacollection.writer.TestHBaseWriter-output.txt?
>> >>
>> >> regards,
>> >> Eric
>> >>
>> >> On Fri, Dec 9, 2011 at 11:11 PM, Bill Graham <[EMAIL PROTECTED]>
>> >> wrote:
>> >> > When I ran ant package the HBase test failed, so I though it was
>> >> > because
>> >> > I
>> >> > hadn't set HBASE_CONF_DIR. If that's not required, then we have a
>> >> > test
>> >> > problem:
>> >> >
>> >> > $ less
>> >> >
>> >> >
>> >> > target/test-reports/org.apache.hadoop.chukwa.datacollection.writer.TestHBaseWriter.txt
>> >> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.625
>> >> > sec
>> >> > <<< FAILURE!
>> >> > warning(junit.framework.TestSuite$1)  Time elapsed: 0.005 sec  <<<
>> >> > FAILURE!
>> >> > junit.framework.AssertionFailedError: Exception in constructor:
>> >> > testWriters
>> >> > (junit.framework.AssertionFailedError
>> >> >         at junit.framework.Assert.fail(Assert.java:48)
>> >> >         at
>> >> >
>> >> >
>> >> > org.apache.hadoop.chukwa.datacollection.writer.TestHBaseWriter.<init>(TestHBaseWriter.java:75)
>> >> >         at
>> >> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> >> > Method)
>> >> >         at
>> >> >
>> >> >
>> >> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> >> >         at
>> >> >
>> >> >
>>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB