<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Hive not working fine with mr but works finr with tez in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161800#M45137</link>
    <description>&lt;P&gt;[root@hdp-2 QA]# hive hive.execution.engine=mr;
WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.3.6.0-3796/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1478000219594_0017 failed 2 times due to Error launching appattempt_1478000219594_0017_000002. Got exception: java.net.NoRouteToHostException: No Route to Host from  hdp-2.3master.server.org/10.200.80.245 to hdp-2.3slave1.server.org:45454 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see:  &lt;A href="http://wiki.apache.org/hadoop/NoRouteToHost" target="_blank"&gt;http://wiki.apache.org/hadoop/NoRouteToHost&lt;/A&gt;
        at sun.reflect.GeneratedConstructorAccessor89.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:801)
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:758)
        at org.apache.hadoop.ipc.Client.call(Client.java:1459)
        at org.apache.hadoop.ipc.Client.call(Client.java:1392)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
        at com.sun.proxy.$Proxy89.startContainers(Unknown Source)
        at org.apache.hadoop.yarn.api.impl.pb.client.ContainerManagementProtocolPBClientImpl.startContainers(ContainerManagementProtocolPBClientImpl.java:96)
        at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:256)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
        at com.sun.proxy.$Proxy90.startContainers(Unknown Source)
        at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:118)
        at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:250)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.NoRouteToHostException: No route to host
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)
        at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:649)
        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:744)
        at org.apache.hadoop.ipc.Client$Connection.access$3000(Client.java:397)
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1521)
        at org.apache.hadoop.ipc.Client.call(Client.java:1431)&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2016 01:13:56 GMT</pubDate>
    <dc:creator>chennuri_gouris</dc:creator>
    <dc:date>2016-11-03T01:13:56Z</dc:date>
    <item>
      <title>Hive not working fine with mr but works finr with tez</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161800#M45137</link>
      <description>&lt;P&gt;[root@hdp-2 QA]# hive hive.execution.engine=mr;
WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.3.6.0-3796/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1478000219594_0017 failed 2 times due to Error launching appattempt_1478000219594_0017_000002. Got exception: java.net.NoRouteToHostException: No Route to Host from  hdp-2.3master.server.org/10.200.80.245 to hdp-2.3slave1.server.org:45454 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see:  &lt;A href="http://wiki.apache.org/hadoop/NoRouteToHost" target="_blank"&gt;http://wiki.apache.org/hadoop/NoRouteToHost&lt;/A&gt;
        at sun.reflect.GeneratedConstructorAccessor89.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:801)
        at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:758)
        at org.apache.hadoop.ipc.Client.call(Client.java:1459)
        at org.apache.hadoop.ipc.Client.call(Client.java:1392)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
        at com.sun.proxy.$Proxy89.startContainers(Unknown Source)
        at org.apache.hadoop.yarn.api.impl.pb.client.ContainerManagementProtocolPBClientImpl.startContainers(ContainerManagementProtocolPBClientImpl.java:96)
        at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:256)
        at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
        at com.sun.proxy.$Proxy90.startContainers(Unknown Source)
        at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.launch(AMLauncher.java:118)
        at org.apache.hadoop.yarn.server.resourcemanager.amlauncher.AMLauncher.run(AMLauncher.java:250)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.NoRouteToHostException: No route to host
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)
        at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:649)
        at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:744)
        at org.apache.hadoop.ipc.Client$Connection.access$3000(Client.java:397)
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:1521)
        at org.apache.hadoop.ipc.Client.call(Client.java:1431)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 01:13:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161800#M45137</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-11-03T01:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hive not working fine with mr but works finr with tez</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161801#M45138</link>
      <description>&lt;P&gt;Is iptables running?  Can you get to that host?  The port seems odd.  Make sure there's no firewall, Knox, proxy or gateway blocking that port.  Restart the client and if you can the Hive Server 2.&lt;/P&gt;&lt;H1&gt;No Route to Host&lt;/H1&gt;&lt;P&gt;You get a TCP No Route To Host Error -often wrapped in a Java IOException, when one machine on the network does not know how to send TCP packets to the machine specified. &lt;/P&gt;&lt;P&gt;Some possible causes (not an exclusive list): &lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;The hostname of the &lt;STRONG&gt;remote machine&lt;/STRONG&gt; is wrong in the configuration files &lt;/LI&gt;&lt;LI&gt;The c&lt;STRONG&gt;lient's host table /etc/hosts has an invalid IPAddress for the target host. &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;The DNS server's host table has an invalid IPAddress for the target host. &lt;/LI&gt;&lt;LI&gt;The client's routing tables (In Linux, iptables) are wrong. &lt;/LI&gt;&lt;LI&gt;The DHCP server is publishing bad routing information. &lt;/LI&gt;&lt;LI&gt;Client and server are on different subnets, and are not set up to talk to each other. This may be an accident, or it is to deliberately lock down the Hadoop cluster.&lt;/LI&gt;&lt;LI&gt;The machines are trying to communicate using IPv6. Hadoop &lt;A href="https://wiki.apache.org/hadoop/HadoopIPv6"&gt;does not currently support IPv6&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;The host's IP address has changed but a long-lived JVM is caching the old value. This is a known problem with JVMs (search for "java negative DNS caching" for the details and solutions). The quick solution: restart the JVMs &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;These are all network configuration/router issues. As it is your network, &lt;A href="https://wiki.apache.org/hadoop/YourNetworkYourProblem"&gt;only you can find out and track down the problem.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 01:13:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161801#M45138</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2016-11-03T01:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hive not working fine with mr but works finr with tez</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161802#M45139</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;When i checked the following and everything is fine. &lt;/P&gt;&lt;P&gt;I am assuming this might be the exact error&lt;/P&gt;&lt;P&gt;Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.SessionNotRunning: TezSession has already shutdown. Application application_1478000219594_0017 failed 2 times due to Error launching appattempt_1478000219594_0017_000002&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 03:11:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161802#M45139</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-11-03T03:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hive not working fine with mr but works finr with tez</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161803#M45140</link>
      <description>&lt;P&gt;On one of the server selinux was enabled , My bad i missed that. Thanks for your reply&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2016 23:26:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-not-working-fine-with-mr-but-works-finr-with-tez/m-p/161803#M45140</guid>
      <dc:creator>chennuri_gouris</dc:creator>
      <dc:date>2016-11-03T23:26:13Z</dc:date>
    </item>
  </channel>
</rss>

