You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "John Sichi (JIRA)" <ji...@apache.org> on 2010/04/09 02:16:38 UTC

[jira] Updated: (HIVE-1297) error message in Hive.checkPaths dumps Java array address instead of path string

     [ 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.