ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhavik patel <bhavikpatel...@gmail.com>
Subject Re: Review Request 72641: RANGER-2877: ElasticSearch-Plugin throws NullPointException when the type of request is 'PutMappingRequest'
Date Mon, 06 Jul 2020 10:01:56 GMT

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


Ship it!




Ship It!

- bhavik patel


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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message