[jira] [Updated] (HIVE-7141) String Format Exception in SwiftNativeFileSystemStore.java
[ https://issues.apache.org/jira/browse/HIVE-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gene Kim updated HIVE-7141: --- Priority: Minor (was: Trivial) String Format Exception in SwiftNativeFileSystemStore.java -- Key: HIVE-7141 URL: https://issues.apache.org/jira/browse/HIVE-7141 Project: Hive Issue Type: Bug Components: Logging Reporter: Gene Kim Priority: Minor Attachments: hadoop.patch If Swift.debug is given a string containing a % character, a format exception will occur. This happens when the path for any of the FileStatus objects contain a % encoded character. The bug is located at hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7141) String Format Exception in SwiftNativeFileSystemStore.java
[ https://issues.apache.org/jira/browse/HIVE-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gene Kim updated HIVE-7141: --- Description: If Swift.debug is given a string containing a % character, a format exception will occur. This happens when the path for any of the FileStatus objects contain a % encoded character. The bug is located at hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. (was: There's bug in hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. If SwiftUtils.fileStatsToString(statuses, \n) returns a string containing a % character, a format exception will occur in SwiftUtils.debug which calls String.format with the given arguments.) String Format Exception in SwiftNativeFileSystemStore.java -- Key: HIVE-7141 URL: https://issues.apache.org/jira/browse/HIVE-7141 Project: Hive Issue Type: Bug Components: Logging Reporter: Gene Kim Priority: Trivial Attachments: hadoop.patch If Swift.debug is given a string containing a % character, a format exception will occur. This happens when the path for any of the FileStatus objects contain a % encoded character. The bug is located at hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HIVE-7141) String Format Exception in SwiftNativeFileSystemStore.java
Gene Kim created HIVE-7141: -- Summary: String Format Exception in SwiftNativeFileSystemStore.java Key: HIVE-7141 URL: https://issues.apache.org/jira/browse/HIVE-7141 Project: Hive Issue Type: Bug Components: Logging Reporter: Gene Kim Priority: Trivial There's bug in hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. If SwiftUtils.fileStatsToString(statuses, \n) returns a string containing a % character, a format exception will occur in SwiftUtils.debug which calls String.format with the given arguments. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7141) String Format Exception in SwiftNativeFileSystemStore.java
[ https://issues.apache.org/jira/browse/HIVE-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gene Kim updated HIVE-7141: --- Description: There's bug in hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. If SwiftUtils.fileStatsToString(statuses, \n) returns a string containing a % character, a format exception will occur in SwiftUtils.debug which calls String.format with the given arguments. (was: There's bug in hadoop/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. If SwiftUtils.fileStatsToString(statuses, \n) returns a string containing a % character, a format exception will occur in SwiftUtils.debug which calls String.format with the given arguments.) String Format Exception in SwiftNativeFileSystemStore.java -- Key: HIVE-7141 URL: https://issues.apache.org/jira/browse/HIVE-7141 Project: Hive Issue Type: Bug Components: Logging Reporter: Gene Kim Priority: Trivial There's bug in hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. If SwiftUtils.fileStatsToString(statuses, \n) returns a string containing a % character, a format exception will occur in SwiftUtils.debug which calls String.format with the given arguments. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (HIVE-7141) String Format Exception in SwiftNativeFileSystemStore.java
[ https://issues.apache.org/jira/browse/HIVE-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gene Kim updated HIVE-7141: --- Attachment: hadoop.patch Here's a patch to fix this issue. String Format Exception in SwiftNativeFileSystemStore.java -- Key: HIVE-7141 URL: https://issues.apache.org/jira/browse/HIVE-7141 Project: Hive Issue Type: Bug Components: Logging Reporter: Gene Kim Priority: Trivial Attachments: hadoop.patch There's bug in hadoop/src/hadoop-tools/hadoop-openstack/src/main/java/org/apache/hadoop/fs/swift/snative/SwiftNativeFileSystemStore.java:931. If SwiftUtils.fileStatsToString(statuses, \n) returns a string containing a % character, a format exception will occur in SwiftUtils.debug which calls String.format with the given arguments. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HIVE-6296) Unhandled IllegalFormatException in serializer
[ https://issues.apache.org/jira/browse/HIVE-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13983503#comment-13983503 ] Gene Kim commented on HIVE-6296: Hey guys, I'm wondering what the status of this bug is since there has been no activity since it was created. Unhandled IllegalFormatException in serializer --- Key: HIVE-6296 URL: https://issues.apache.org/jira/browse/HIVE-6296 Project: Hive Issue Type: Bug Components: Contrib Reporter: Gene Kim Priority: Minor Attachments: Added_patch_for_format_bug.patch In RegexSerDe's serialize method, a MissingFormatArgumentException is caught when formatting the output string, and a there are not enough arguments. However, it does not handle the case where the format string contains invalid format string syntax (e.g. %y) or has mismatching types. The attached patch provides a clean error message for this exception. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (HIVE-6296) Unhandled IllegalFormatException in serializer
[ https://issues.apache.org/jira/browse/HIVE-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13983593#comment-13983593 ] Gene Kim commented on HIVE-6296: Oh yeah, that class doesn't seem to have that problem. Thanks! Unhandled IllegalFormatException in serializer --- Key: HIVE-6296 URL: https://issues.apache.org/jira/browse/HIVE-6296 Project: Hive Issue Type: Bug Components: Contrib Reporter: Gene Kim Priority: Minor Attachments: Added_patch_for_format_bug.patch In RegexSerDe's serialize method, a MissingFormatArgumentException is caught when formatting the output string, and a there are not enough arguments. However, it does not handle the case where the format string contains invalid format string syntax (e.g. %y) or has mismatching types. The attached patch provides a clean error message for this exception. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (HIVE-6296) Unhandled IllegalFormatException in serializer
Gene Kim created HIVE-6296: -- Summary: Unhandled IllegalFormatException in serializer Key: HIVE-6296 URL: https://issues.apache.org/jira/browse/HIVE-6296 Project: Hive Issue Type: Bug Components: Contrib Reporter: Gene Kim Priority: Minor In RegexSerDe's serialize method, a MissingFormatArgumentException is caught when formatting the output string, and a there are not enough arguments. However, it does not handle the case where the format string contains invalid format string syntax (e.g. %y) or has mismatching types. The attached patch provides a clean error message for this exception. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (HIVE-6296) Unhandled IllegalFormatException in serializer
[ https://issues.apache.org/jira/browse/HIVE-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gene Kim updated HIVE-6296: --- Attachment: Added_patch_for_format_bug.patch Unhandled IllegalFormatException in serializer --- Key: HIVE-6296 URL: https://issues.apache.org/jira/browse/HIVE-6296 Project: Hive Issue Type: Bug Components: Contrib Reporter: Gene Kim Priority: Minor Attachments: Added_patch_for_format_bug.patch In RegexSerDe's serialize method, a MissingFormatArgumentException is caught when formatting the output string, and a there are not enough arguments. However, it does not handle the case where the format string contains invalid format string syntax (e.g. %y) or has mismatching types. The attached patch provides a clean error message for this exception. -- This message was sent by Atlassian JIRA (v6.1.5#6160)
[jira] [Updated] (HIVE-6296) Unhandled IllegalFormatException in serializer
[ https://issues.apache.org/jira/browse/HIVE-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gene Kim updated HIVE-6296: --- Status: Patch Available (was: Open) Unhandled IllegalFormatException in serializer --- Key: HIVE-6296 URL: https://issues.apache.org/jira/browse/HIVE-6296 Project: Hive Issue Type: Bug Components: Contrib Reporter: Gene Kim Priority: Minor Attachments: Added_patch_for_format_bug.patch In RegexSerDe's serialize method, a MissingFormatArgumentException is caught when formatting the output string, and a there are not enough arguments. However, it does not handle the case where the format string contains invalid format string syntax (e.g. %y) or has mismatching types. The attached patch provides a clean error message for this exception. -- This message was sent by Atlassian JIRA (v6.1.5#6160)