Member since
09-19-2016
18
Posts
4
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
236 | 11-15-2016 01:59 PM |
08-03-2018
05:09 AM
POST with Content-Type: text/plain Helped in my case Thanks
... View more
01-05-2017
08:57 PM
@Jose Luis Navarro Vicente This is the working Spark Pi example for your reference. curl -X POST -H "Content-Type: application/json" localhost:8998/batches --data '{ "conf": {"spark.master":"yarn-cluster"}, "file": "file:///usr/hdp/current/spark-client/lib/spark-examples-1.6.1.2.5.0.0-817-hadoop2.7.1.2.5.0.0-817.jar", "className": "org.apache.spark.examples.SparkPi", "name": "Scala Livy Pi Example", "executorCores":1, "executorMemory":"512m", "driverCores":1, "driverMemory":"512m", "queue":"default", "args":["100"]}'
... View more
11-28-2016
09:56 AM
@Jose Luis Navarro Vicente you can try https://github.com/spark-jobserver/spark-jobserver, once submitted check the status of job and if it got killed resubmit it.
... View more
11-15-2016
01:59 PM
This was already answered in stackoverflow.
For some reason I there were two different type of dash character in the command I wrote.
... View more
10-20-2016
08:00 AM
I am able to connect using kafka-console-producer from other machine and I am also able to connect using kafka-console-consumer.
In fact, other machines can keep connecting and sending messages over topics, the only problem is when I try to submit a spark job, I have specified the port change for this spark job but it just fails.
... View more
10-12-2016
11:33 AM
Hello sbhat, Thanks for your answer, this seems to be closer the answer. They are not registered, indeed. However the ambari-agent.ini contains the correct fqdn of ambari server, and it can be resolved.
In fact, even the ambari-agent in the same machine where ambari-server is is not shown as registered. Any idea?
The agent is running on all hosts, double checked.
... View more
09-21-2016
03:37 PM
So as far as I can see here, this issue only happens if I directly clone the git repo to the desired location. If I clone the repo in any other directory then copy the content, there are no issues.
Any idea why this happens?
... View more
09-23-2016
09:57 AM
cuserspfctic2desktopambari-clean-instructions.txt Finally I got the answer for the problem. I really don't know what happened but it seemed that the connections between nodes were not correctly configured. To solve the problem, I started the cluster configuration again, but first of all, I cleaned up the hosts using the commands that I let you in the next document. Hope it helps!
... View more