[
https://issues.apache.org/jira/browse/HDFS-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225327#comment-13225327
]
Eli Collins commented on HDFS-2303:
-----------------------------------
Mingjie,
- Have you verified you can set JSVC_HOME in hadoop-env.sh? Looks like you're
setting JSVC_HOME before hadoop-env.sh is sourced (by hadoop-config.sh) so this
wouldn't work. Please test both with a jsvc installed in /usr and via setting
JSVC_HOME explicitly in hadoop-env.sh if you haven't already
- We shouldn't assume JSVC_HOME has a bin directory as the jsvc download is
just a directory with jsvc. I'd make the error message something like this:
"JSVC_HOME is not set so jsvc can not be found. Jsvc is required to run secure
datanodes. Please download jsvc for your platform from
http://archive.apache.org/dist/commons/daemon/binaries and set JSVC_HOME to the
directory containing the jsvc binary"
- Let's add a commented out line in hadoop-env.sh like the following:
{code}
# The jsvc implementation to use
#export JSVC_HOME=${JSVC_HOME}
{code}
Otherwise looks great.
Thanks,
Eli
> jsvc needs to be recompilable
> -----------------------------
>
> Key: HDFS-2303
> URL: https://issues.apache.org/jira/browse/HDFS-2303
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build, scripts
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Fix For: 0.24.0, 0.23.2
>
> Attachments: HDFS-2303-2.patch.txt, HDFS-2303-3-trunk.patch,
> HDFS-2303-4-trunk.patch, HDFS-2303.patch.txt
>
>
> It would be nice to recompile jsvc as part of the native profile. This has a
> number of benefits including an ability to re-generate all binary artifacts,
> etc. Most of all, however, it will provide a way to generate jsvc on Linux
> distributions that don't have matching libc
--
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