You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2009/09/02 02:11:32 UTC

[jira] Updated: (HIVE-752) Encountered ClassNotFound exception when trying HWI server

     [ https://issues.apache.org/jira/browse/HIVE-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-752:
----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed in both trunk and 0.4 - thanks Edward

> Encountered ClassNotFound exception when trying HWI server
> ----------------------------------------------------------
>
>                 Key: HIVE-752
>                 URL: https://issues.apache.org/jira/browse/HIVE-752
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>         Environment: Hadoop 0.18.3
>            Reporter: Venkat Ramachandran
>            Assignee: Edward Capriolo
>            Priority: Blocker
>         Attachments: hive-752-1.diff, hive-752.diff
>
>
> Encountered ClassNotFound exception (for class: org.apache.jetty.hive.shims.Jetty18Shims) when trying to start HWI server on Hadoop 18.
> It appears that the class ShimLoader (org.apache.hadoop.hive.shims.ShimLoader) is referring to incorrect classes as below:
> static {
>     JETTY_SHIM_CLASSES.put("0.17", "org.apache.jetty.hive.shims.Jetty17Shims");
>     JETTY_SHIM_CLASSES.put("0.18", "org.apache.jetty.hive.shims.Jetty18Shims");
>     JETTY_SHIM_CLASSES.put("0.19", "org.apache.jetty.hive.shims.Jetty19Shims");
>     JETTY_SHIM_CLASSES.put("0.20", "org.apache.jetty.hive.shims.Jetty20Shims");
>   }
> however, I think it should be as below:
>  static 
>   {
> 	  JETTY_SHIM_CLASSES.put("0.17", "org.apache.hadoop.hive.shims.Jetty17Shims");
> 	  JETTY_SHIM_CLASSES.put("0.18", "org.apache.hadoop.hive.shims.Jetty18Shims");
> 	  JETTY_SHIM_CLASSES.put("0.19", "org.apache.hadoop.hive.shims.Jetty19Shims");
> 	  JETTY_SHIM_CLASSES.put("0.20", "org.apache.hadoop.hive.shims.Jetty20Shims");
>   } 
> Wondering if anybody else encountered this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.