-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72641/#review221132
-----------------------------------------------------------
Ship it!
Ship It!
- Pradeep Agrawal
On July 3, 2020, 8:38 a.m., ru jia wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72641/
> -----------------------------------------------------------
>
> (Updated July 3, 2020, 8:38 a.m.)
>
>
> Review request for ranger.
>
>
> Bugs: RANGER-2877
> https://issues.apache.org/jira/browse/RANGER-2877
>
>
> Repository: ranger
>
>
> Description
> -------
>
> request: curl -XPUT --tlsv1.2 --negotiate -k -u : 'https://xxxxx:xxx/graphbase0624_age_index1/_mapping/age_index1?include_type_name=true&pretty'
-H 'Content-Type:application/json' -d '{"mapping":{"properties":
> {"age":"text"}}}'
>
> then ES will print NullPointException in it's log file, and the request will fail
>
>
> Diffs
> -----
>
> ranger-elasticsearch-plugin-shim/src/main/java/org/apache/ranger/authorization/elasticsearch/plugin/utils/RequestUtils.java
6786c14
>
>
> Diff: https://reviews.apache.org/r/72641/diff/1/
>
>
> Testing
> -------
>
> tested in production environment, the NullPointException has disappeared and can get
correct index
>
>
> Thanks,
>
> ru jia
>
>
|