hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3839) hadoop should handle no cygwin on windows more gracefully
Date Sat, 26 Jul 2008 13:59:31 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617176#action_12617176
] 

Steve Loughran commented on HADOOP-3839:
----------------------------------------

stack trace from the mailing list



INFO: initializing HDFS with config Configuration: hadoop-default.xml,
hadoop-site.xml,
file:/C:/w/hadoop-test/./conf/roy-client/hadoop-default.xml,
file:/C:/w/hadoop-test/./conf/roy-client/hadoop-site.xml
08/07/15 18:36:08 WARN fs.FileSystem: uri=hdfs://roy:9000
javax.security.auth.login.LoginException: Login failed: CreateProcess:
whoami error=2
	at
org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:250)
	at
org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:275)
	at
org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:257)
	at
org.apache.hadoop.security.UserGroupInformation.login(UserGroupInformation.java:67)
	at org.apache.hadoop.fs.FileSystem$Cache$Key.<init>(FileSystem.java:1353)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1289)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:203)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:108)
	at com.signal7.hadooptest.HadoopTest.getStorageSystem(HadoopTest.java:93)
	at com.signal7.hadooptest.HadoopTest.main(HadoopTest.java:31)
Exception in thread "main" java.io.IOException
	at org.apache.hadoop.dfs.DFSClient.<init>(DFSClient.java:175)
	at
org.apache.hadoop.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:68)
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1280)
	at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:56)
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1291)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:203)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:108)
	at com.signal7.hadooptest.HadoopTest.getStorageSystem(HadoopTest.java:93)
	at com.signal7.hadooptest.HadoopTest.main(HadoopTest.java:31)
Caused by: javax.security.auth.login.LoginException: Login failed:
CreateProcess: whoami error=2
	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.<init>(DFSClient.java:173)
	... 8 more

> hadoop should handle no cygwin on windows more gracefully
> ---------------------------------------------------------
>
>                 Key: HADOOP-3839
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3839
>             Project: Hadoop Core
>          Issue Type: Improvement
>         Environment: Windows XP, cygwin not installed
>            Reporter: Steve Loughran
>            Priority: Minor
>
> There have been a couple of postings to hadoop core-user in which people can't get hdfs
to come up on windows because whoami isnt on the path, which fails with an IOException error
code 2. 
> To people not experienced in DOS error codes, this is a fairly meanless number which
invariably leads to time wasted and support emails.
> 1. the error could be caught and handled by printing some better hints (point to a wiki
page?)
> 2. is whoami really needed on DOS-based filesystems?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message