hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Permission problem in Junit test - Hadoop 2.2.0
Date Tue, 17 Dec 2013 23:24:12 GMT
Have you set umask to 022 ?

See https://issues.apache.org/jira/browse/HDFS-2556

Cheers


On Tue, Dec 17, 2013 at 3:12 PM, Karim Awara <karim.awara@kaust.edu.sa>wrote:

> Hi,
>
> I am running Junit test on hadoop 2.2.0 on eclipse on mac os x. Whenever I
> run the test, I am faced with the following error
>
> It seems there is a problem with the permission test data dir.   Please
> advise.
>
>
> 2013-12-18 02:09:19,326 ERROR hdfs.MiniDFSCluster
> (MiniDFSCluster.java:initMiniDFSCluster(647)) - IOE creating namenodes.
> Permissions dump:
> path 'build/test/data/dfs/data':
>
> absolute:/Volumes/Me/kepler_workspace/hadoop-hdfs/build/test/data/dfs/data
>     permissions: ----
> path 'build/test/data/dfs':
>     absolute:/Volumes/Me/kepler_workspace/hadoop-hdfs/build/test/data/dfs
>     permissions: drwx
> path 'build/test/data':
>     absolute:/Volumes/Me/kepler_workspace/hadoop-hdfs/build/test/data
>     permissions: drwx
> path 'build/test':
>     absolute:/Volumes/Me/kepler_workspace/hadoop-hdfs/build/test
>     permissions: drwx
> path 'build':
>     absolute:/Volumes/Me/kepler_workspace/hadoop-hdfs/build
>     permissions: drwx
>
>
>
>
> --
> Best Regards,
> Karim Ahmed Awara
>
> ------------------------------
> This message and its contents, including attachments are intended solely
> for the original recipient. If you are not the intended recipient or have
> received this message in error, please notify me immediately and delete
> this message from your computer system. Any unauthorized use or
> distribution is prohibited. Please consider the environment before printing
> this email.

Mime
View raw message