Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> Not able to run testcases locally using eclipse


Copy link to this message
-
RE: Not able to run testcases locally using eclipse
Thanks Jon.. I will do that..

> -----Original Message-----
> From: Jonathan Hsieh [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2012 7:59 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Not able to run testcases locally using eclipse
>
> Ram,
>
> Updated hadoop hdfs minicluster requires a 'umask 0022'.
>
> I deleted the target dir and then added the line to my .bashrc so that
> it
> is always set when I login to my box and thus before I run eclipse.
>
> Jon.
>
>
> On Fri, Mar 30, 2012 at 2:39 AM, Ramkrishna.S.Vasudevan <
> [EMAIL PROTECTED]> wrote:
>
> > Hi Devs
> >
> >
> >
> > Recently I am facing a problem when I try to run testcases for 0.92,
> 0.94
> > or
> > trunk test cases using eclipse.
> >
> >
> >
> > Just when the testcase starts up the miniDfsCluster it says invalid
> > directory
> >
> >
> >
> > 2012-03-30 15:04:48,417 WARN  [main] datanode.DataNode(1548): Invalid
> > directory in dfs.data.dir: Incorrect permission for
> >
> > I:/Hadoop_project/HBASE-0.92/target/test-data/87fdc1e5-2580-49d1-
> 94e1-8a1d4f
> > c9f6eb/dfscluster_3f2ac182-3f2d-4935-9c7e-
> c379f744b00c/dfs/data/data1,
> > expected: rwxr-xr-x, while actual: rwx------
> > 2012-03-30 15:04:48,464 WARN  [main] datanode.DataNode(1548): Invalid
> > directory in dfs.data.dir: Incorrect permission for
> >
> > I:/Hadoop_project/HBASE-0.92/target/test-data/87fdc1e5-2580-49d1-
> 94e1-8a1d4f
> > c9f6eb/dfscluster_3f2ac182-3f2d-4935-9c7e-
> c379f744b00c/dfs/data/data2,
> > expected: rwxr-xr-x, while actual: rwx------
> > 2012-03-30 15:04:48,464 ERROR [main] datanode.DataNode(1554): All
> > directories in dfs.data.dir are invalid.
> > 2012-03-30 15:04:48,464 INFO  [main] hbase.HBaseTestingUtility(571):
> > Shutting down minicluster
> > 2012-03-30 15:04:48,776 WARN  [main] hbase.HBaseTestingUtility(583):
> Failed
> > delete of
> >
> > I:\Hadoop_project\HBASE-0.92\target\test-data\87fdc1e5-2580-49d1-
> 94e1-8a1d4f
> > c9f6eb\dfscluster_3f2ac182-3f2d-4935-9c7e-c379f744b00c
> > 2012-03-30 15:04:48,776 INFO  [main] hbase.HBaseTestingUtility(587):
> > Minicluster is down
> >
> >
> >
> > Any help on how to solve this problem is atmost welcome.
> >
> >
> >
> > Regards
> >
> > Ram
> >
> >
> >
> >
>
>
> --
> // Jonathan Hsieh (shay)
> // Software Engineer, Cloudera
> // [EMAIL PROTECTED]