[
https://issues.apache.org/jira/browse/HADOOP-16110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16768612#comment-16768612
]
Allen Wittenauer commented on HADOOP-16110:
-------------------------------------------
bq. I see your point, but this isn't even working for the hadoop fs -ls command
Correct. It won't by design. HADOOP_OPTIONAL_TOOLS must be set in hadoop-env.sh.
bq. I'm not worried about token renewal as none of the object stores do token
renewal, even the stuff in s3a only does issuing and use in the deployed app.
Who says that HADOOP_OPTIONAL_TOOLS will only be object stores or even only
contain parts that ship with Hadoop?
bq. 1. I pull the env var setting up earlier
What should be the error message when someone enables, e.g., Spectrum locally
so now hadoop fs -ls works but then their job fails because it doesn't work
remotely?
bq. 2. we cache the value of the tools env var, and then, if it has changed,
warn people that the change is ignored
This is probably the best bet.
> ~/hadoop-env doesn't support HADOOP_OPTIONAL_TOOLS
> --------------------------------------------------
>
> Key: HADOOP-16110
> URL: https://issues.apache.org/jira/browse/HADOOP-16110
> Project: Hadoop Common
> Issue Type: Bug
> Components: bin
> Affects Versions: 3.3.0
> Reporter: Steve Loughran
> Priority: Minor
>
> if you set {{HADOOP_OPTIONAL_TOOLS}} in ~.hadoop-env, it doesn't get picked
> up because the HADOOP_OPTIONAL_TOOLS expansion takes place in the parse
> process way before {{hadoop_exec_user_hadoopenv}} is invoked.
> Unless I've really misunderstood what ~/.hadoop-env is meant to do "let me
> set hadoop env vars", I'd have expected that tools env var examining (and so:
> loading of optional tools) to take place after
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]