Member since
05-04-2016
12
Posts
7
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
794 | 05-17-2016 10:09 PM |
05-17-2016
10:09 PM
1 Kudo
Oozie didnt have access to hbase jars, added them manually to libext/ folder and created the oozie.war again and it worked.
... View more
05-17-2016
05:41 PM
1 Kudo
I get the error that oozie cant find the custom action class when I run the job. This is how I added my custom action jar to oozie :
- stoped oozie
- added classname to oozie.service.ActionService.executor.ext.classes in oozie-site.xml
- copy cutom.jar to /usr/hdp/current/oozie-server/libext/. - /usr/hdp/current/oozie-server/bin/oozie-setup.sh prepare-war
- started oozie back
Error :
java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/CustomActionClass
at
...
...
I understand that new actions are to be added as ext.classes and action jars in libext folder. Am I missing something here ? Also how are libext jars different from sharelib jars ?
... View more
Labels:
- Labels:
-
Apache Oozie
05-13-2016
07:04 PM
Can we please confirm which user runs the service installation ? root ? I confirmed that root can run curl from cli successfully. I created app-logs dir manually and ran root:/home/ubuntu# curl -iv 'http://xxxx:50070/webhdfs/v1/app-logs?op=GETFILESTATUS&user.name=hdfs'
* Trying 1.70.26.132... connected
> GET /webhdfs/v1/app-logs?op=GETFILESTATUS&user.name=hdfs HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3 > Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Cache-Control: no-cache
Cache-Control: no-cache
... View more
05-13-2016
10:54 AM
Started server and agent but no luck. How can we ask ambari to not use proxy ? Which user is this process run as ? May be I can sudo as that and update its no_proxy list ?
... View more
05-13-2016
03:52 AM
@Predrag Minovic : Yes, I am running the cluster behind the firewall and have proxies. I added nodes to the no_proxy list and I'm now able to run curl command from the terminal with HTTP 200.
I also updated no_proxy list on all the nodes and removed proxies from ambari-env.sh. But I still the error when trying to start services. I started with yarn service and see it fail.
It seems like curl/ambari-server is still using proxies. Is there a way to force it to not use proxy ?
... View more
05-12-2016
09:28 PM
2 Kudos
I am using ambari 2.2.1 and HDP 2.3.4 and ubuntu 12. I successfully completed the ambari setup through launch wizard but it never started the services. I am manually starting the services now through "start all" but it fails to start them. I get the following error for all the services : resource_management.core.exceptions.Fail: Execution of 'curl -sS -L -w '%{http_code}' -X GET 'http://xxxx:50070/webhdfs/v1/ats/done?op=GETFILESTATUS&user.name=hdfs'' returned status_code=503. I checked that the node is reachable from the server and hdfs is working fine. What am I missing here? Thanks
... View more
Labels:
- Labels:
-
Apache Ambari