hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayon Sinha <ayonsi...@yahoo.com>
Subject HDFS client java access
Date Mon, 09 Aug 2010 21:12:15 GMT
I have a HDFS java client on the same network domain as the cluster which needs 
to read the dfs file with permissions  rw-r--r--

I get 

java.io.IOException
at org.apache.hadoop.dfs.DFSClient.(DFSClient.java:169)
at 
org.apache.hadoop.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:67)

at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1339)
at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:56)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1351)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:213)


Caused by: javax.security.auth.login.LoginException: Login failed: Expect one 
token as the result of whoami: nt authority\\system
at 
org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:250)

at 
org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:275)
 at org.apache.hadoop.dfs.DFSClient.(DFSClient.java:167)\r\n\t... 20 
more\r\n&msg=2010-08-06 16:25:38,069 ERROR -
com.ebay.integ.dal.cache2.CacheLoaderFailurenull\r\n


Can I use 
job.set("dfs.permissions", "false");

My question is: Is it a matter of setting the right property values in the conf 
object? like user.name or  dfs.web.ugi or does the clinet need to actually have 
a Unix login or passwordless ssh setup? -Ayon


      
Mime
View raw message