hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystian Nowak (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1115) SocketException: Protocol not available for some JVMs
Date Wed, 04 Jan 2012 19:03:40 GMT

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

Krystian Nowak commented on HDFS-1115:
--------------------------------------

Summing up, I still assume that HDFS won't run properly on 1.6.0.x OpenJDK, right?
                
> SocketException: Protocol not available for some JVMs
> -----------------------------------------------------
>
>                 Key: HDFS-1115
>                 URL: https://issues.apache.org/jira/browse/HDFS-1115
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.2
>         Environment: OpenSuse 11.2 running as a Virtual Machine on Windows Vista
>            Reporter: manas
>
> Here, input is a folder containing all .xml files from ./conf  
> Then trying the command:
> ./bin/hadoop fs -copyFromLocal input input
> The following message is displayed: 
> {noformat}
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Operation
not supported
> INFO hdfs.DFSClient: Abandoning block blk_-1884214035513073759_1010
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Protocol
not available
> INFO hdfs.DFSClient: Abandoning block blk_5533397873275401028_1010
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Protocol
not available
> INFO hdfs.DFSClient: Abandoning block blk_-237603871573204731_1011
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Protocol
not available
> INFO hdfs.DFSClient: Abandoning block blk_-8668593183126057334_1011
> WARN hdfs.DFSClient: DataStreamer Exception: java.io.IOException: Unable to create new
block.
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2845)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.java:2102)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2288)
> WARN hdfs.DFSClient: Error Recovery for block blk_-8668593183126057334_1011 bad datanode[0]
nodes == null
> WARN hdfs.DFSClient: Could not get block locations. Source file "/user/max/input/core-site.xml"
- Aborting...
> copyFromLocal: Protocol not available
> ERROR hdfs.DFSClient: Exception closing file /user/max/input/core-site.xml : java.net.SocketException:
Protocol not available
> java.net.SocketException: Protocol not available
>         at sun.nio.ch.Net.getIntOption0(Native Method)
>         at sun.nio.ch.Net.getIntOption(Net.java:178)
>         at sun.nio.ch.SocketChannelImpl$1.getInt(SocketChannelImpl.java:419)
>         at sun.nio.ch.SocketOptsImpl.getInt(SocketOptsImpl.java:60)
>         at sun.nio.ch.SocketOptsImpl.sendBufferSize(SocketOptsImpl.java:156)
>         at sun.nio.ch.SocketOptsImpl$IP$TCP.sendBufferSize(SocketOptsImpl.java:286)
>         at sun.nio.ch.OptionAdaptor.getSendBufferSize(OptionAdaptor.java:129)
>         at sun.nio.ch.SocketAdaptor.getSendBufferSize(SocketAdaptor.java:328)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.createBlockOutputStream(DFSClient.java:2873)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2826)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.java:2102)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2288)
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Operation
not supported
> INFO hdfs.DFSClient: Abandoning block blk_-1884214035513073759_1010
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Protocol
not available
> INFO hdfs.DFSClient: Abandoning block blk_5533397873275401028_1010
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Protocol
not available
> INFO hdfs.DFSClient: Abandoning block blk_-237603871573204731_1011
> INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.SocketException: Protocol
not available
> INFO hdfs.DFSClient: Abandoning block blk_-8668593183126057334_1011
> WARN hdfs.DFSClient: DataStreamer Exception: java.io.IOException: Unable to create new
block.
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2845)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.java:2102)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2288)
> WARN hdfs.DFSClient: Error Recovery for block blk_-8668593183126057334_1011 bad datanode[0]
nodes == null
> WARN hdfs.DFSClient: Could not get block locations. Source file "/user/max/input/core-site.xml"
- Aborting...
> copyFromLocal: Protocol not available
> ERROR hdfs.DFSClient: Exception closing file /user/max/input/core-site.xml : java.net.SocketException:
Protocol not available
> java.net.SocketException: Protocol not available
>         at sun.nio.ch.Net.getIntOption0(Native Method)
>         at sun.nio.ch.Net.getIntOption(Net.java:178)
>         at sun.nio.ch.SocketChannelImpl$1.getInt(SocketChannelImpl.java:419)
>         at sun.nio.ch.SocketOptsImpl.getInt(SocketOptsImpl.java:60)
>         at sun.nio.ch.SocketOptsImpl.sendBufferSize(SocketOptsImpl.java:156)
>         at sun.nio.ch.SocketOptsImpl$IP$TCP.sendBufferSize(SocketOptsImpl.java:286)
>         at sun.nio.ch.OptionAdaptor.getSendBufferSize(OptionAdaptor.java:129)
>         at sun.nio.ch.SocketAdaptor.getSendBufferSize(SocketAdaptor.java:328)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.createBlockOutputStream(DFSClient.java:2873)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.nextBlockOutputStream(DFSClient.java:2826)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream.access$2000(DFSClient.java:2102)
>         at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$DataStreamer.run(DFSClient.java:2288)
> {noformat}
> However, only empty files are created on HDFS.

--
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