hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikas Saha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8516) fsck command does not work when executed on Windows Hadoop installation
Date Wed, 20 Jun 2012 21:02:43 GMT

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

Bikas Saha commented on HADOOP-8516:
------------------------------------

I cannot repro this with the latest code.
                
> fsck command does not work when executed on Windows Hadoop installation
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-8516
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8516
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Trupti Dhavle
>             Fix For: 1.1.0
>
>
> I tried to run following command on Windows Hadoop installation
> hadoop fsck /tmp
> THis command was run as Administrator. 
> The command fails with following error-
> 12/06/20 00:24:55 ERROR security.UserGroupInformation: PriviledgedActionExceptio
> n as:Administrator cause:java.net.ConnectException: Connection refused: connect
> Exception in thread "main" java.net.ConnectException: Connection refused: connec
> t
>         at java.net.PlainSocketImpl.socketConnect(Native Method)
>         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
>         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:211)
>         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
>         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>         at java.net.Socket.connect(Socket.java:529)
>         at java.net.Socket.connect(Socket.java:478)
>         at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
>         at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
>         at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>         at sun.net.www.http.HttpClient.New(HttpClient.java:323)
>         at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC
> onnection.java:970)
>         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne
> ction.java:911)
>         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection
> .java:836)
>         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
> nection.java:1172)
>         at org.apache.hadoop.hdfs.tools.DFSck$1.run(DFSck.java:141)
>         at org.apache.hadoop.hdfs.tools.DFSck$1.run(DFSck.java:110)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInforma
> tion.java:1103)
>         at org.apache.hadoop.hdfs.tools.DFSck.run(DFSck.java:110)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>         at org.apache.hadoop.hdfs.tools.DFSck.main(DFSck.java:182)
> /tmp is owned by Administrator
> hadoop fs -ls /
> Found 3 items
> drwxr-xr-x   - Administrator supergroup          0 2012-06-08 15:08 /benchmarks
> drwxrwxrwx   - Administrator supergroup          0 2012-06-11 23:00 /tmp
> drwxr-xr-x   - Administrator supergroup          0 2012-06-19 17:01 /user

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message