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

John Sichi updated HIVE-1297:
-----------------------------

    Description: 
{code}
           if (item.isDir()) {
-            throw new HiveException("checkPaths: " + src.toString()
-                + " has nested directory" + item.toString());
+            throw new HiveException("checkPaths: " + src.getPath()
+                + " has nested directory " + item.getPath());
           }
{code}


  was:
           if (item.isDir()) {
-            throw new HiveException("checkPaths: " + src.toString()
-                + " has nested directory" + item.toString());
+            throw new HiveException("checkPaths: " + src.getPath()
+                + " has nested directory " + item.getPath());
           }



> error message in Hive.checkPaths dumps Java array address instead of path 
> string
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-1297
>                 URL: https://issues.apache.org/jira/browse/HIVE-1297
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Query Processor
>    Affects Versions: 0.5.0
>            Reporter: John Sichi
>            Assignee: John Sichi
>             Fix For: 0.6.0
>
>
> {code}
>            if (item.isDir()) {
> -            throw new HiveException("checkPaths: " + src.toString()
> -                + " has nested directory" + item.toString());
> +            throw new HiveException("checkPaths: " + src.getPath()
> +                + " has nested directory " + item.getPath());
>            }
> {code}

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

Reply via email to