Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # dev >> Review Request 14795: SQOOP-1220 Sqoop2: Improve default catalina.properties file to work out of the box on both Hadoop 1 and 2


Copy link to this message
-
Review Request 14795: SQOOP-1220 Sqoop2: Improve default catalina.properties file to work out of the box on both Hadoop 1 and 2

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14795/
-----------------------------------------------------------

Review request for Sqoop.
Bugs: SQOOP-1220
    https://issues.apache.org/jira/browse/SQOOP-1220
Repository: sqoop-sqoop2
Description
-------

I've tweak the configuration in a way that it works out of the box on both Hadoop 1 and Hadoop 2 (BigTop based installations). There is one caveat though, on Hadoop 1.0 when stopping server, following warning will be printed out:

Oct 21, 2013 1:06:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/lib/hadoop-hdfs], exists: [false], isDirectory: [false], canRead: [false]
Oct 21, 2013 1:06:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/lib/hadoop-hdfs/lib], exists: [false], isDirectory: [false], canRead: [false]
Oct 21, 2013 1:06:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/lib/hadoop-mapreduce], exists: [false], isDirectory: [false], canRead: [false]
Oct 21, 2013 1:06:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/lib/hadoop-mapreduce/lib], exists: [false], isDirectory: [false], canRead: [false]
Oct 21, 2013 1:06:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/lib/hadoop-yarn], exists: [false], isDirectory: [false], canRead: [false]
Oct 21, 2013 1:06:07 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/lib/hadoop-yarn/lib], exists: [false], isDirectory: [false], canRead: [false]

The warnings are harmless and are printed out only while shutting the server down, so hopefully they won't be confusing users who are running default configuration on Hadoop 1.
Diffs
-----

  dist/src/main/server/conf/catalina.properties 5a47295d6e1bfa2114f86d620bb1452bc576df71

Diff: https://reviews.apache.org/r/14795/diff/
Testing
-------

Tried the default config file on both Hadoop 1 (BigTop 0.3) and Hadoop 2 (BigTop 0.6).
Thanks,

Jarek Cecho