Jarek, Yes you are right, my server was configured with YARN and when I switched it to MR it has been worked.
Thanks a lot 2013/3/15 Jarek Jarcec Cecho <[email protected]> > Hi Hakki, > it seems that you're hitting following exception: > > Cannot initialize Cluster. Please check your configuration for > mapreduce.framework.name and the correspond server addresses. > > This exception is usually being thrown when your cluster is running on > MR1, but Sqoop server is configured with YARN. What MR implementation is > your cluster running and what is the content of > /etc/sqoop2/conf/sqoop-env.sh file? > > Jarcec > > On Fri, Mar 15, 2013 at 05:55:09PM +0200, hakki buyukcengiz wrote: > > Hi, > > > > Have attached them. > > > > Thanks, > > > > 2013/3/15 Jarek Jarcec Cecho <[email protected]> > > > > > Hi Hakki, > > > It seems that you're using CDH so you might consider asking your > question > > > on cdh-user [1] mailing list instead for CDH specific issues. > > > > > > It seems that your Tomcat instance has started, but the Sqoop > application > > > wasn't properly loaded. Would you mind sharing with us both tomcat and > > > sqoop logs? They are usually available in: > > > > > > * /var/log/sqoop2/sqoop.log > > > * /var/log/sqoop2/sqoop-tomcat.log > > > > > > Jarcec > > > > > > Links: > > > 1: http://groups.google.com/a/cloudera.org/group/cdh-user > > > > > > On Fri, Mar 15, 2013 at 04:26:04PM +0200, hakki buyukcengiz wrote: > > > > Hi All, > > > > > > > > I have just installed the Sqoop 2 tool. I have done all the steps in > > > > "https://ccp.cloudera.com/**display/CDH4DOC/Sqoop+2+**Installation< > > > https://ccp.cloudera.com/display/CDH4DOC/Sqoop+2+Installation> > > > > " > > > > > > > > After installation, "http://localhost:12000" address gives the > result > > > > containing a string "Apache Sqoop ROOT". I understand from this > string > > > > the server is running but when I request > > > > "http://localhost:12000/sqoop/**version< > > > http://localhost:12000/sqoop/version>" > > > > it gives: > > > > > > > > HTTP Status 404 - > > > > ______________________________**__ > > > > type Status report > > > > message > > > > description The requested resource () is not available. > > > > ______________________________**__ > > > > Apache Tomcat/6.0.35 > > > > > > > > Can you give advises about this error? > > > > > > > > My cdh properties: > > > > version=1.99.1-cdh4.2.0 > > > > git.hash=**00d127d9d67ccd65583cbc5e6a48e5**d397ba8760 > > > > cloudera.hash=**00d127d9d67ccd65583cbc5e6a48e5**d397ba8760 > > > > cloudera.base-branch=cdh4-**base-1.99.1 > > > > cloudera.build-branch=cdh4-1.**99.1_4.2.0 > > > > cloudera.pkg.version=1.99.1+31 > > > > cloudera.pkg.release=1.cdh4.2.**0.p0.13 > > > > cloudera.pkg.name=sqoop2 > > > > cloudera.cdh.release=cdh4.2.0 > > > > cloudera.build.time=2013.02.15-20:12:32GMT > > > > > > > > -- > > > > Hakki Buyukcengiz > > > > TR > > > > > > > > > > > -- > > Hakki Buyukcengiz > > TR > > > > -- Hakki Buyukcengiz TR
