[
https://issues.apache.org/jira/browse/HDFS-3400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron T. Myers updated HDFS-3400:
---------------------------------
Attachment: HDFS-3400.patch
Here's a patch which makes it so that DNs will start up even if JSVC is
configured properly and security is disabled via the XML confs. The only things
that will cause the DN to not start are now:
* Security is enabled but the DN is not configured to use low ports.
* JSVC_HOME is configured, but $JSVC_HOME/jsvc is not executable.
No tests are included since security and root access must be available to test
this. I tested it manually by:
# Starting a DN with security disabled, and all security-related env vars set.
# Starting a DN with security enabled, and all security-related env vars set.
# Starting a DN with security disabled, and none of the security-related env
vars set.
# Starting a DN with security enabled, and none of the security-related env
vars set.
# Starting a DN with security enabled, all of the security-related env vars
set, but not configured with low ports.
The DN now starts properly in the first three cases. It does not start in the
last two. This is the expected behavior after this patch.
> DNs should be able start with jsvc even if security is disabled
> ---------------------------------------------------------------
>
> Key: HDFS-3400
> URL: https://issues.apache.org/jira/browse/HDFS-3400
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node, scripts
> Affects Versions: 2.0.0
> Reporter: Aaron T. Myers
> Assignee: Aaron T. Myers
> Attachments: HDFS-3400.patch
>
>
> Currently if one tries to start a DN with security disabled (via
> hadoop.security.authentication = "simple" in the configs), but JSVC is
> correctly configured, the DN will refuse to start.
--
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