hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7431) log message for InvalidMagicNumberException may be incorrect
Date Fri, 19 Dec 2014 10:41:16 GMT

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

Hudson commented on HDFS-7431:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #46 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/46/])
HDFS-7431. log message for InvalidMagicNumberException may be incorrect. Contributed by Yi
Liu. (cnauroth: rev 5df7ecb33ab24de903f0fd98e2a055164874def5)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/protocol/datatransfer/sasl/TestSaslDataTransfer.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/sasl/SaslDataTransferServer.java
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/sasl/InvalidMagicNumberException.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> log message for InvalidMagicNumberException may be incorrect
> ------------------------------------------------------------
>
>                 Key: HDFS-7431
>                 URL: https://issues.apache.org/jira/browse/HDFS-7431
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: 2.7.0
>
>         Attachments: HDFS-7431.001.patch, HDFS-7431.002.patch, HDFS-7431.003.patch
>
>
> For security mode, HDFS now supports that Datanodes don't require root or jsvc if {{dfs.data.transfer.protection}}
is configured.
> Log message for {{InvalidMagicNumberException}}, we miss one case: 
> when the datanodes run on unprivileged port and {{dfs.data.transfer.protection}} is configured
to {{authentication}} but {{dfs.encrypt.data.transfer}} is not configured. SASL handshake
is required and a low version dfs client is used, then {{InvalidMagicNumberException}} is
thrown and we write log:
> {quote}
> Failed to read expected encryption handshake from client at .... Perhaps the client is
running an older version of Hadoop which does not support encryption
> {quote}
> Recently I run HDFS built on trunk and security is enabled, but the client is 2.5.1 version.
Then I got the above log message, but actually I have not configured encryption.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message