Not sure if you need "dt.application.<app_name>" in the name element. As
per http://docs.datatorrent.com/application_packages/#operator-properties
your property spec should be

<property>
  <name>dt.operator.fsRolling.prop.maxWindowsWithNoData
            </name>
  <value>100000000</value>
</property>

I have been trying to find an example of setting a property for an operator
inside a module (like this case) but couldn't. If the above doesn't work
you can try the $ notation as follows:

<property>
<name>dt.operator.hiveOutput$fsRolling.prop.maxWindowsWithNoData
                </name>
<value>100000000</value>
 </property>

Let me know if that works or not.


On Wed, May 17, 2017 at 11:10 PM, Vivek Bhide <bhide.vi...@gmail.com> wrote:

> Hi Sanjay,
>
> I did all required changes but application is still throwing the same
> error.
> I increased the value to 100000000 (default 100) and even removed the
> setting of upstream operator's streaming window customization
>
>  <property>
>
> <name>dt.application.<app_name>.operator.fsRolling.prop.
> maxWindowsWithNoData
>                 </name>
>                 <value>100000000</value>
>         </property>
>
> I also tried setting the property like
>
>  <property>
>
> <name>dt.application.<app_name>.operator.hiveOutput$fsRolling.prop.
> maxWindowsWithNoData
>                 </name>
>                 <value>100000000</value>
>         </property>
>
> since 'hiveOutput' is the operator name for HiveModule in my application
> and
> 'hiveOutput$fsRolling' is how the name appears when i do list-operators but
> its of no use
>
> Is there any working example of HdfsOutputModule that I can refer to?
>
> When I have my ownHdfsSinkOperator which extends AbstractFileOutputOperator
> the file rollup works perfectly fine but not with HdfsOutputModule or
> FSPojoToHiveOperator
>
> Is there an alternative to achieve the same functionality? please let me
> know
>
> Regards
> Vivek
>
>
>
> --
> View this message in context: http://apache-apex-users-list.
> 78494.x6.nabble.com/NullPointerException-at-AbstractFSRollingOutputOperato
> r-while-using-HiveOutputModule-tp1625p1633.html
> Sent from the Apache Apex Users list mailing list archive at Nabble.com.
>

Reply via email to