Member since
05-25-2017
32
Posts
0
Kudos Received
0
Solutions
01-17-2019
07:33 AM
Even, I cant find how one can get transactionId.. Any help greatly appreciated!
... View more
10-24-2018
10:19 AM
Ah! James Jones --- I have a Recommendation - Never believe recommendations from Ambari 😉
... View more
06-01-2018
02:25 PM
I had a similar problem with pyhive on my horton setup. The failure was always immediate and so it was not a timeout issue that some people on the net were pointing out. It turned out to be hive.server2.transport.mode. If this is set to binary, it works like a Charm. If it is 'http', PyHive does not work. Also found https://github.com/dropbox/PyHive/issues/69 which talks about this. HTH.
... View more
05-04-2018
08:27 AM
We had this issue... What I found from logs is that the livy client copies this zip from /tmp/sparkxxxxx to HDFS:/user/<username>/.sparkStaging/.... In our case, livy user impersonation was enabled. Hence <username> Livy wad able to create ".sparkStaging/<application-id>" directory... but that directory is owned by the <username> with 700 permission.... And then the zip file could not be copied to that directory by Livy. I found this by a writing a small shell script that continuously spins "ls -lR"ing the HDFS /user/<username>/.sparkStaging directory.. (while true:; do; hdfs dfs -ls -R /user/<username>/.sparkStaging; done;) --> Ran this as "livy" user.. So, we just gave blanket permissions in Ranger for "livy" to "/user" recursively. And that was it! We got it working!
... View more
03-13-2018
09:34 AM
Oh yeah! We too hit this problem on our Sandbox cluster running HDP 2.5.3 with Kerberos + AD integrated secure cluster. We can see that Ambari server is not sending the commands to Ambari agent (or) is hung on something with Ambari agent... Just the gear icon in the settings with 3 small icons never appear.... Man... Such a pain, this one is. Today we restarted the services and it took 2 hours for a 4-node cluster.... Hadoop means Elephant, right? Now, I believe it.... for a totally different reason though.... 🙂
... View more
09-21-2017
11:27 AM
A learning I had was that when you export a table, use complete HDFS URI... In some cases, I found that it helped executing the command which otherwise was failed
... View more
09-19-2017
11:16 AM
We have a Spark SQL Thrift Server running with Kerberos enabled. While Kerberos helps in authenticate users, I am not sure how I could authorize who could use what tables. We use "Ranger" and it has "hive" policies. I think this is more for "HS2" access. Does this also protect access via Spark-SQL Thrift server?
... View more
Labels:
- Labels:
-
Apache Ranger
-
Apache Spark
09-11-2017
08:54 AM
@Rakesh Gupta Thank you very much. Smart debug sir. Saved me my day today.
... View more
06-28-2017
07:31 AM
What do you mean by "added host entries of the unsecured cluster in the secured cluster"?? Thats kind of weird. I thought we only add Hosts so that they can be a part of the current cluster.... If you did not add the unsecure host, what problem did you encounter?
... View more
05-26-2017
08:08 PM
I found the answer to this myself. When you search for ID, it does not necessarily mean "Processor ID". In my case, it was the "Controller Service" ID which was present inside the Processor. Thats a good learning for the day. Thanks much.
... View more