-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74222/
-----------------------------------------------------------

Review request for ranger, Bhavik Bavishi, madhan, Madhan Neethiraj, Mateen 
Mansoori, and Mehul Parikh.


Repository: ranger


Description
-------

run db_setup.py to upgrade a old instance without solr, error occurs:

install.properties like that:

```
ranger.supportedcomponents=tag,hdfs,hive,yarn,kafka,kms,kudu ```

```

2022-11-28 16:19:49,949  [JISQL] 
/sensorsdata/main/program/armada/jdk18292/jdk18292/bin/java  -cp 
/sensorsdata/main/program/sp/commonjars/mysql-connector-java.jar:/sensorsdata/main/program/rogue/ranger-2.3.0-admin/jisql/lib/*
 org.apache.util.sql.Jisql -driver mysqlconj -cstring 
jdbc:mysql://10.129.17.81:4000/kirby_ranger2?useSSL=false -u 'kirby_ranger' -p 
'********' -noheader -trim -c \;  -query "delete from x_db_version_h where 
version = 'J10055' and active = 'N' and updated_by='ranger_admin';"
2022-11-28 16:19:50,298  [E] applying java patch 
PatchForSolrSvcDefAndPoliciesUpdate_J10055 failed
```


Diffs
-----

  
security-admin/src/main/java/org/apache/ranger/patch/PatchForSolrSvcDefAndPoliciesUpdate_J10055.java
 4684923ca 


Diff: https://reviews.apache.org/r/74222/diff/1/


Testing
-------


Thanks,

Kirby Zhou

Reply via email to