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

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

    [ https://issues.apache.org/jira/browse/HIVE-15423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744434#comment-15744434 ] 

ASF GitHub Bot commented on HIVE-15423:
---------------------------------------

GitHub user subahugu opened a pull request:

    https://github.com/apache/hive/pull/122

    HIVE-15423: Allowing Hive to reverse map IP from hostname for partiti…

    …on info

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/subahugu/hive branch-1.2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/122.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #122
    
----
commit 754783def2ac81b54f1a24403a78b9b47ed6e091
Author: suresh.bahuguna <su...@suresh-bahuguna.local>
Date:   2016-12-13T07:23:55Z

    HIVE-15423: Allowing Hive to reverse map IP from hostname for partition info

----


> 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)