Suresh Bahuguna created HIVE-15423:
--------------------------------------

             Summary: Allowing Hive to reverse map IP from hostname for 
partition info
                 Key: HIVE-15423
                 URL: https://issues.apache.org/jira/browse/HIVE-15423
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 1.2.1
            Reporter: Suresh Bahuguna


Hive - Namenode hostname mismatch when running queries with 2 MR jobs.
Hive tries to find Partition info using hdfs://<host_name>:<hdfs_port>, whereas 
the info has been hashed using hdfs://<host_IP_addr>:<hdfs_port>.
Exception raised in HiveFileFormatUtils.java:

-----------------------------------------------------------------------------------------------------
java.io.IOException: cannot find dir = 
hdfs://hd-nn-24:9000/tmp/hive-admin/hive_2013-08-30_06-11-52_007_1545561832334194535/-mr-10002/000000_0
 in pathToPartitionInfo: 
[hdfs://192.168.156.24:9000/tmp/hive-admin/hive_2013-08-30_06-11-52_007_1545561832334194535/-mr-10002]
at 
org.apache.hadoop.hive.ql.io.HiveFileFormatUtils.getPartitionDescFromPathRecursively(HiveFileFormatUtils.java
-----------------------------------------------------------------------------------------------------



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to