You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Suresh Bahuguna (JIRA)" <ji...@apache.org> on 2016/12/13 07:21:58 UTC

[jira] [Created] (HIVE-15423) Allowing Hive to reverse map IP from hostname for partition info

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)