[ 
https://issues.apache.org/jira/browse/RANGER-1364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857856#comment-15857856
 ] 

zhangxiong commented on RANGER-1364:
------------------------------------

zhangQiang, this is not bug appeared in audit log, but in ranger admin 
installation script like dba_script.py. when install ranger admin,it would use 
MySQLPLRunner to execute some sqls  to do mysql user existence verification etc.

> MySQLPLRunner take wrong start index when traverse the resultSet metadata
> -------------------------------------------------------------------------
>
>                 Key: RANGER-1364
>                 URL: https://issues.apache.org/jira/browse/RANGER-1364
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin
>    Affects Versions: Ranger
>            Reporter: zhangxiong
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> when we install the admin,the dba_script.py would call MySQLRunner to run 
> some sqls from file or input string.But MySQLRunner take wrong start index 
> when traverse then resultSet colname.According to jdbc specification,we 
> should get the rs first column name with index 1 NOT 0. But take 0 as start 
> index is what ranger does.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to