Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

With Hive View what causes: "H100 Unable to submit statement show databases like '*': org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe"?

avatar
Expert Contributor

This an simlar exception come up with Hive View. Also see:

https://hortonworks.com/community/forums/topic/amabari-hive-view-error-broken-pipe/ How to resolve and best debug such an issue?

1 ACCEPTED SOLUTION

avatar
@hkropp

Details from support:

It should be fixed in Ambari 2.2

also

We think what probably happened was the connection was open for too long which is why it said there was a broken pipe when you tried to access the hive view. When you did a restart to opened a fresh connection and was able to connect. Probably just a refresh of the ambari page would have reset the connection as well.

View solution in original post

26 REPLIES 26

avatar

Is the cluster kerberized?

avatar
Master Collaborator

There is an open intermittent issue where Hive View fails handling submission of multiple statements in a single query/submit. Is that the case here?

avatar
Expert Contributor

Deepash, can you provide us with a link to the open issue?

avatar
Contributor

Is there any bug filed? There are quite some users are hitting this issue I think.

avatar
Master Collaborator

There is an internal bug that is tracking this at Hortonworks.

avatar
New Contributor

Do you have more info on this internal bug? Restarting Hive and Ambari-Server are temporary fixes, but need a permanent one.

avatar

If the cluster is kerberized, please be aware that we are currently facing some issues with Hive and HDFS view in secure environments.

"Hive and file view are not working after enabling kerberos." (Internally tracked via EAR-2412)

Jonas

avatar
Contributor

I'm seeing this too. Haven't found any JIRA on this.

avatar
Expert Contributor

Hi, I can't remember how or if I solved it 😉 but could you try to configure the Hive View with manual configuration instead of the option to get the cluster configuration? Let me know if this works. Thanks!

avatar
Mentor

@hkropp are you still having issues with this? Can you accept best answer or provide your own solution?

avatar
New Contributor

Have you found any solution? I experience it as well.

avatar

+1 I am experiencing this issue as well, without Kerberos.

avatar
Expert Contributor

Hi, I can't remember how or if I solved it 😉 but could you try to configure the Hive View with manual configuration instead of the option to get the cluster configuration? Let me know if this works. Thanks!

avatar
@hkropp

Details from support:

It should be fixed in Ambari 2.2

also

We think what probably happened was the connection was open for too long which is why it said there was a broken pipe when you tried to access the hive view. When you did a restart to opened a fresh connection and was able to connect. Probably just a refresh of the ambari page would have reset the connection as well.

avatar
Expert Contributor

What I had to do was restart ambari-server to get rid of this error.

avatar

My ambari version: 2.2.1.0, problem not fixed in version 2.2.

Not kerberised.

Page refresh doesn't solve.

This works:

ambari-server restart	

avatar
Contributor

I too am facing this issue frequently both on HDP 2.3 as well as 2.4 cluster setups. As @R Wys mentioned, above suggested steps not working.

@Neeraj Sabharwal any suggestions, workarounds would be highly appreciated.

Ambari Version: 2.2.1.1

Thanks Amit

avatar
New Contributor

I'm facing issue in Ambari Version2.2.1.0 in HDP Sandbox. Restart is not working. Everything was working fine until couple of hours ago. Suddenly Hive tables disappeared from view with error. Please advise.

3549-screen-shot-2016-04-19-at-104518-pm.png

avatar
New Contributor

I'm facing issue in Ambari Version2.2.1.0 in HDP Sandbox. Restart is not working. Everything was working fine until couple of hours ago. Suddenly Hive tables disappeared from view with error. Please advise.

3549-screen-shot-2016-04-19-at-104518-pm.png

avatar

I get same error and cannot see Hive Tables. Any fix for this yet ?

Labels