Ted Yu created HIVE-9301:
----------------------------

             Summary: Potential null dereference in MoveTask#createTargetPath()
                 Key: HIVE-9301
                 URL: https://issues.apache.org/jira/browse/HIVE-9301
             Project: Hive
          Issue Type: Bug
            Reporter: Ted Yu


{code}
    if (mkDirPath != null & !fs.exists(mkDirPath)) {
{code}
'&&' should be used instead of single ampersand.

If mkDirPath is null, fs.exists() would still be called - resulting in NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to