[ https://issues.apache.org/jira/browse/HDFS-11167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15993943#comment-15993943 ]
Allen Wittenauer commented on HDFS-11167: ----------------------------------------- We should be avoiding putting specific JVM fixes in the shell code like this. It won't scale. Instead, hadoop-env.sh should specifically mention that the secure vars should be set to null on IBM JVMs. > IBM java can not start secure datanode with HDFS_DATANODE_SECURE_EXTRA_OPTS > "-jvm server" > ----------------------------------------------------------------------------------------- > > Key: HDFS-11167 > URL: https://issues.apache.org/jira/browse/HDFS-11167 > Project: Hadoop HDFS > Issue Type: Bug > Components: scripts > Affects Versions: 3.0.0-alpha1 > Environment: IBM PowerPC > Reporter: Pan Yuxuan > Assignee: Pan Yuxuan > Attachments: HDFS-11167-0001.patch, HDFS-11167-0002.patch > > > When we run secure datanode on IBM PowerPC with IBM JDK, the jsvc wrong with > error > {noformat} > jsvc error: Invalid JVM name specified server > {noformat} > This is because of the HDFS_DATANODE_SECURE_EXTRA_OPTS "-jvm server". > For IBM JDK it is enough to run it without -jvm server. > So I think we can check if IBM jdk in hdfs-config.sh before setting > HDFS_DATANODE_SECURE_EXTRA_OPTS. -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org