[
https://issues.apache.org/jira/browse/HIVE-7599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
DJ Choi updated HIVE-7599:
--------------------------
Attachment: HIVE-7599.patch
When the format object is null, the printUsage() method will be called.
> NPE in MergeTask#main() when -format is absent
> ----------------------------------------------
>
> Key: HIVE-7599
> URL: https://issues.apache.org/jira/browse/HIVE-7599
> Project: Hive
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
> Attachments: HIVE-7599.patch
>
>
> When '-format' is absent from commandline, the following call would result in
> NPE (format is initialized to null):
> {code}
> if (format.equals("rcfile")) {
> mergeWork = new MergeWork(inputPaths, new Path(outputDir),
> RCFileInputFormat.class);
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)