[ https://issues.apache.org/jira/browse/HIVE-9948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang updated HIVE-9948: ------------------------------ Comment: was deleted (was: Hi Xuefu, can u suggest on this, hive> show roles; FAILED: SemanticException The current builtin authorization in Hive is incomplete and disabled. Error from Hive: error code: '0' error message: 'ExecuteStatement finished with operation state: CLOSED_STATE' ) > SparkUtilities.getFileName passes File.separator to String.split() method > ------------------------------------------------------------------------- > > Key: HIVE-9948 > URL: https://issues.apache.org/jira/browse/HIVE-9948 > Project: Hive > Issue Type: Bug > Components: Spark > Reporter: Alexander Pivovarov > Assignee: Alexander Pivovarov > Priority: Minor > Fix For: 1.2.0 > > Attachments: HIVE-9948.1.patch > > > String.split() method expects regex. This is why File.separator can not be > passed to split. > In this particular case we can use FilenameUtils.getName to get file name -- This message was sent by Atlassian JIRA (v6.3.4#6332)