[ https://issues.apache.org/jira/browse/HDFS-16644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang updated HDFS-16644: ----------------------------------- Release Note: A Hadoop 2.10.1 or 2.10.2 client connecting to a Hadoop 3.4.0~3.4.1, 3.3.0~3.3.6, 3.2.1~3.2.4 (any version with HDFS-13541) cluster could cause the DataNode to disconnect any subsequent client connections due to an incompatible binary protocol change. HDFS-16644 provides a partial fix: a Hadoop 3 cluster will reject Hadoop 2.10.1/2.10.2 clients, but it will not fail other subsequent client connections. For Hadoop 2 cluster wishing to upgrade to Hadoop 3 in a rolling fashion, the workaround is to perform a two-step upgrade: upgrade to an earlier Hadoop 3 version without HDFS-13541, and then upgrade again to the newer Hadoop 3 version. Or revert HDFS-13541 from your version and rebuild. was: A Hadoop 2.10.1 or 2.10.2 client connecting to a Hadoop 3.4.0~3.4.1, 3.3.0~3.3.6, 3.2.1~3.2.4 (any version with HDFS-13541) cluster could cause the DataNode to disconnect any subsequent client connections. HDFS-16644 provides a partial fix: a Hadoop 3 cluster will reject Hadoop 2.10.1/2.10.2 clients, but it will not fail other subsequent client connections. For Hadoop 2 cluster wishing to upgrade to Hadoop 3 in a rolling fashion, the workaround is to perform a two-step upgrade: upgrade to an earlier Hadoop 3 version without HDFS-13541, and then upgrade again to the newer Hadoop 3 version. Or revert HDFS-13541 from your version and rebuild. > java.io.IOException Invalid token in javax.security.sasl.qop > ------------------------------------------------------------ > > Key: HDFS-16644 > URL: https://issues.apache.org/jira/browse/HDFS-16644 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 3.2.1 > Reporter: Walter Su > Assignee: Zilong Zhu > Priority: Major > Labels: pull-request-available > Fix For: 3.3.7, 3.5.0, 3.4.2 > > > deployment: > server side: kerberos enabled cluster with jdk 1.8 and hdfs-server 3.2.1 > client side: > I run command hadoop fs -put a test file, with kerberos ticket inited first, > and use identical core-site.xml & hdfs-site.xml configuration. > using client ver 3.2.1, it succeeds. > using client ver 2.8.5, it succeeds. > using client ver 2.10.1, it fails. The client side error info is: > org.apache.hadoop.hdfs.protocol.datatransfer.sasl.SaslDataTransferClient: > SASL encryption trust check: localHostTrusted = false, remoteHostTrusted = > false > 2022-06-27 01:06:15,781 ERROR > org.apache.hadoop.hdfs.server.datanode.DataNode: > DataNode{data=FSDataset{dirpath='[/mnt/disk1/hdfs, /mnt/***/hdfs, > /mnt/***/hdfs, /mnt/***/hdfs]'}, localName='emr-worker-***.***:9866', > datanodeUuid='b1c7f64a-6389-4739-bddf-***', xmitsInProgress=0}:Exception > transfering block BP-1187699012-10.****-***:blk_1119803380_46080919 to mirror > 10.*****:9866 > java.io.IOException: Invalid token in javax.security.sasl.qop: D > at > org.apache.hadoop.hdfs.protocol.datatransfer.sasl.DataTransferSaslUtil.readSaslMessage(DataTransferSaslUtil.java:220) > Once any client ver 2.10.1 connect to hdfs server, the DataNode no longer > accepts any client connection, even client ver 3.2.1 cannot connects to hdfs > server. The DataNode rejects any client connection. For a short time, all > DataNodes rejects client connections. > The problem exists even if I replace DataNode with ver 3.3.0 or replace java > with jdk 11. > The problem is fixed if I replace DataNode with ver 3.2.0. I guess the > problem is related to HDFS-13541 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org