hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Hsieh <...@cloudera.com>
Subject Re: Not able to run testcases locally using eclipse
Date Fri, 30 Mar 2012 14:29:26 GMT
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 <
ramkrishna.vasudevan@huawei.com> 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
// jon@cloudera.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message