One of this is part of thrift definitions:

# Value used to specify that a path image number is not used on a
request or response
const i64 UNUSED_PATH_UPDATE_IMG_NUM = -1;

The default value is -1

Since you raised the question - can you investigate this deeper?


Thanks,


- Sasha


On Thu, Aug 10, 2017 at 2:18 PM, Na Li <lina...@cloudera.com> wrote:

> Hi,
>
> I found  multiple definitions of unused image number.
>
> Can we just remove
> "sentry_hdfs_serviceConstants.UNUSED_PATH_UPDATE_IMG_NUM" and keep
> "ServiceConstants.IMAGE_NUMBER_UPDATE_UNINITIALIZED"?
>
> public class sentry_hdfs_serviceConstants {
>
>   public static final long UNUSED_PATH_UPDATE_IMG_NUM = -1L;
> }
>
> ServiceConstants.IMAGE_NUMBER_UPDATE_UNINITIALIZED = 0L;
>
> Thanks,
>
> Lina
>

Reply via email to