hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5385) StringUtils is not in commons codec 1.3
Date Fri, 04 Oct 2013 17:53:47 GMT

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

Prasanth J commented on HIVE-5385:
----------------------------------

I hit the same issue yesterday and I added a new entry in eclipse-template/.classpath for
commons-codec-1.4 from build/ivy/lib/default. Since hadoop-0.20.2 shims needs commons-codec-1.3
I added 1.4 as a separate classpath entry. That seemed to work fine for me.

> StringUtils is not in commons codec 1.3
> ---------------------------------------
>
>                 Key: HIVE-5385
>                 URL: https://issues.apache.org/jira/browse/HIVE-5385
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Yin Huai
>            Assignee: Kousuke Saruta
>            Priority: Trivial
>         Attachments: HIVE-5385.1.patch
>
>
> In ThriftHttpServlet introduced by HIVE-4763, StringUtils is imported which was introduced
by commons codec 1.4. But, our 0.20 shims depends on commons codec 1.3. Our eclipse classpath
template is also using libs of 0.20 shims. So, we will get two errors in eclipse. 
> Compiling hive will not have a problem because we are loading codec 1.4 for project service
(1.4 is also used when "-Dhadoop.version=0.20.2 -Dhadoop.mr.rev=20").



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message