[jira] Updated: (HIVE-1639) ExecDriver.addInputPaths() error if partition name contains a comma
[ https://issues.apache.org/jira/browse/HIVE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Namit Jain updated HIVE-1639: - Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Resolution: Fixed Committed. Thanks Ning > ExecDriver.addInputPaths() error if partition name contains a comma > --- > > Key: HIVE-1639 > URL: https://issues.apache.org/jira/browse/HIVE-1639 > Project: Hadoop Hive > Issue Type: Bug >Reporter: Ning Zhang >Assignee: Ning Zhang > Attachments: HIVE-1639.2.patch, HIVE-1639.patch > > > The ExecDriver.addInputPaths() calls FileInputFormat.addPaths(), which takes > a comma-separated string representing a set of paths. If the path name of a > input file contains a comma, this code throw an exception: > java.lang.IllegalArgumentException: Can not create a Path from an empty > string. > Instead of calling FileInputFormat.addPaths(), ExecDriver.addInputPaths > should iterate all paths and call FileInputFormat.addInputPath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-1639) ExecDriver.addInputPaths() error if partition name contains a comma
[ https://issues.apache.org/jira/browse/HIVE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ning Zhang updated HIVE-1639: - Attachment: HIVE-1639.2.patch Added a test case. > ExecDriver.addInputPaths() error if partition name contains a comma > --- > > Key: HIVE-1639 > URL: https://issues.apache.org/jira/browse/HIVE-1639 > Project: Hadoop Hive > Issue Type: Bug >Reporter: Ning Zhang >Assignee: Ning Zhang > Attachments: HIVE-1639.2.patch, HIVE-1639.patch > > > The ExecDriver.addInputPaths() calls FileInputFormat.addPaths(), which takes > a comma-separated string representing a set of paths. If the path name of a > input file contains a comma, this code throw an exception: > java.lang.IllegalArgumentException: Can not create a Path from an empty > string. > Instead of calling FileInputFormat.addPaths(), ExecDriver.addInputPaths > should iterate all paths and call FileInputFormat.addInputPath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-1639) ExecDriver.addInputPaths() error if partition name contains a comma
[ https://issues.apache.org/jira/browse/HIVE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ning Zhang updated HIVE-1639: - Status: Patch Available (was: Open) > ExecDriver.addInputPaths() error if partition name contains a comma > --- > > Key: HIVE-1639 > URL: https://issues.apache.org/jira/browse/HIVE-1639 > Project: Hadoop Hive > Issue Type: Bug >Reporter: Ning Zhang >Assignee: Ning Zhang > Attachments: HIVE-1639.patch > > > The ExecDriver.addInputPaths() calls FileInputFormat.addPaths(), which takes > a comma-separated string representing a set of paths. If the path name of a > input file contains a comma, this code throw an exception: > java.lang.IllegalArgumentException: Can not create a Path from an empty > string. > Instead of calling FileInputFormat.addPaths(), ExecDriver.addInputPaths > should iterate all paths and call FileInputFormat.addInputPath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (HIVE-1639) ExecDriver.addInputPaths() error if partition name contains a comma
[ https://issues.apache.org/jira/browse/HIVE-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ning Zhang updated HIVE-1639: - Attachment: HIVE-1639.patch > ExecDriver.addInputPaths() error if partition name contains a comma > --- > > Key: HIVE-1639 > URL: https://issues.apache.org/jira/browse/HIVE-1639 > Project: Hadoop Hive > Issue Type: Bug >Reporter: Ning Zhang >Assignee: Ning Zhang > Attachments: HIVE-1639.patch > > > The ExecDriver.addInputPaths() calls FileInputFormat.addPaths(), which takes > a comma-separated string representing a set of paths. If the path name of a > input file contains a comma, this code throw an exception: > java.lang.IllegalArgumentException: Can not create a Path from an empty > string. > Instead of calling FileInputFormat.addPaths(), ExecDriver.addInputPaths > should iterate all paths and call FileInputFormat.addInputPath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.