You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by Jarek Cecho <ja...@apache.org> on 2013/10/21 22:16:20 UTC

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


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

Posted by Hari Shreedharan <hs...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14795/#review27495
-----------------------------------------------------------

Ship it!


Ship It!

- Hari Shreedharan


On Oct. 21, 2013, 8:16 p.m., Jarek Cecho wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14795/
> -----------------------------------------------------------
> 
> (Updated Oct. 21, 2013, 8:16 p.m.)
> 
> 
> 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
> 
>