Josh Elser created ACCUMULO-1973:
------------------------------------
Summary: Log better message when Hadoop configuration files are not found
Key: ACCUMULO-1973
URL: https://issues.apache.org/jira/browse/ACCUMULO-1973
Project: Accumulo
Issue Type: Improvement
Affects Versions: 1.5.0
Reporter: Josh Elser
Fix For: 1.4.5, 1.5.1, 1.6.0
I keep running into this -- with the introduction of Hadoop-2 into the configuration, if you
don't properly set HADOOP_CONF_DIR, you'll get the "default" instance.dfs.uri (I believe)
which will (almost) always not work out for you.
You get a strange stack trace around ChecksumFileSystem or FilterFileSystem, but the underlying
problem is that your configuration is likely pointing at the wrong configuration directory
for Hadoop ($HADOOP_PREFIX/conf instead of $HADOOP_PREFIX/etc/hadoop, or vice versa).
We should be able to do something that makes this more intuitive to new-comers with printing
error messages.
--
This message was sent by Atlassian JIRA
(v6.1#6144)
|