I want to reject 0bytes files received in s3 bucket but i am not able to fetch the size.
How i was trying to achieve it:
i read in doc that s3.length attribute is the size of the object in lists3
![Sheph_1-1662459743839.png Sheph_1-1662459743839.png](https://community.cloudera.com/t5/image/serverpage/image-id/35462iBD712C0FA791F3FF/image-size/medium?v=v2&px=400)
I can see the size of the file i.e. 0 after fetchs3object
![Sheph_0-1662459376912.png Sheph_0-1662459376912.png](https://community.cloudera.com/t5/image/serverpage/image-id/35461i2133D18478B24C6E/image-size/medium?v=v2&px=400)
but s3.length is not 0 for 0.00bytes file:
![Sheph_2-1662459956988.png Sheph_2-1662459956988.png](https://community.cloudera.com/t5/image/serverpage/image-id/35463iE93ECCDEAD817CE5/image-size/medium?v=v2&px=400)
I wanted to use file size in routeanattribute processor to reject the files of 0 bytes.
![Sheph_3-1662460203149.png Sheph_3-1662460203149.png](https://community.cloudera.com/t5/image/serverpage/image-id/35464i2415E33E1BA79D61/image-size/medium?v=v2&px=400)