Support Questions

Find answers, ask questions, and share your expertise

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

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

@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

Is the cluster kerberized?

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?

Expert Contributor

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

Contributor

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

Master Collaborator

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

New Contributor

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

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

Contributor

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

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!

Mentor

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

New Contributor

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

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

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!

@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.

Expert Contributor

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

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	

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

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

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.