Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-26 Thread hsy...@gmail.com
Hey Alex,

Theoretically, you can discover other zk nodes from one. But we only use
zookeeper only to discover brokers. This is a limitation in the code but I
think when we fix the bug to support full path name, we don't have to
support discover for other zk node.

So right now, if the only zk node you specify dies, the operator will not
be able to refresh the metadata, it will fail at certain point.

Regards,
Siyuan

On Thu, Aug 25, 2016 at 2:45 PM, McCullough, Alex <
alex.mccullo...@capitalone.com> wrote:

> Hey Siyuan,
>
>
>
> Looks like using the single ZK IP with the chroot works, but fails with
> the same error when adding more than one.
>
>
>
> Can explain the exact impact of only having the single zk node listed? It
> can auto discover with ZK the other nodes, but if the one we connect to
> drops than Apex won’t know any other server to connect to?
>
>
>
> Thanks,
>
> Alex
>
>
>
> *From: *"hsy...@gmail.com" 
> *Reply-To: *"users@apex.apache.org" 
> *Date: *Thursday, August 25, 2016 at 12:57 PM
>
> *To: *"users@apex.apache.org" 
> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>
>
>
> Hey Alex,
>
>
>
> Does the workaround work? I just want to follow up to see my hypothesis
> for the root cause is correct. Thanks!
>
>
>
> Regards,
>
> Siyuan
>
>
>
> On Wed, Aug 24, 2016 at 10:56 AM, hsy...@gmail.com 
> wrote:
>
> Hey Alex,
>
>
>
> Yeah, I think there is a bug for multitenant kafka support in the code. I
> have created a ticket
>
> https://issues.apache.org/jira/browse/APEXMALHAR-2199
>
>
>
> For now can you try one thing:
>
> Can you try to set your zookeeper to something like this:
>
> 
>
>dt.operator.kafkaInputOperator.prop.consumer.zookeeper
>
>10.##.##.#:2181/kafka2,10.##.##.##:2181/kafka2,10.##.
> ##.##:2181/kafka2,10.##.##.#:2181/kafka2
>
> 
>
>
>
> or you can just try to set just one of the zookeeper nodes.
>
> For kafka client it only needs to know one running node but you'll lose
> zookeeper HA
>
>
>
> Regards,
>
> Siyuan
>
>
>
> On Wed, Aug 24, 2016 at 10:40 AM, McCullough, Alex <
> alex.mccullo...@capitalone.com> wrote:
>
> ONE_TO_ONE
>
>
>
>
>
>
>
> *From: *"hsy...@gmail.com" 
> *Reply-To: *"users@apex.apache.org" 
> *Date: *Wednesday, August 24, 2016 at 1:38 PM
>
>
> *To: *"users@apex.apache.org" 
> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>
>
>
> Hey Alex,
>
>
>
> Do you use ONE_TO_ONE or ONE_TO_MANY partition?
>
>
>
> Regards,
>
> Siyuan
>
>
>
> On Wed, Aug 24, 2016 at 10:27 AM, McCullough, Alex <
> alex.mccullo...@capitalone.com> wrote:
>
> Hey Siyuan,
>
>
>
> We are using 3.4.0
>
>
>
> Thanks,
>
> Alex
>
> *From: *"hsy...@gmail.com" 
> *Reply-To: *"users@apex.apache.org" 
> *Date: *Wednesday, August 24, 2016 at 12:47 PM
> *To: *"users@apex.apache.org" 
> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>
>
>
> Hey McCullough,
>
>
>
> What malhar version do you use?
>
>
>
> Regards,
>
> Siyuan
>
>
>
> On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex <
> alex.mccullo...@capitalone.com> wrote:
>
> Hey All,
>
>
>
> We are using the 0.8.1 kafka operator and the ZK connection string has a
> chroot on it. We get errors when launching and the app fails, is there a
> proper way in apex to append a chroot?
>
>
>
>
>
> **the ip’s are masked with #, but that’s not how they appear in our code
> obviously**
>
>
>
> When we add this to the property for ZK:
>
>
>
>
>
> 
>
>dt.operator.kafkaInputOperator.prop.consumer.zookeeper
>
>10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.
> ##.##.#:2181/kafka2
>
> 
>
>
>
>
>
>
>
> We get this error (connecting to a cluster without chroot it works fine):
>
>
>
>
>
> 2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient
> processStateChanged - zookeeper state changed (SyncConnected)
>
> 2016-08-24 11:55:13,585 [ZkClient-EventThread-30-10.##
> .##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
> INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
>
> 2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session:
> 0x4558654aacf4263 closed
>
> 2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run
> - EventThread shut down
>
> 2016-08-24 11:55:13,5

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-25 Thread McCullough, Alex
Hey Siyuan,

Looks like using the single ZK IP with the chroot works, but fails with the 
same error when adding more than one.

Can explain the exact impact of only having the single zk node listed? It can 
auto discover with ZK the other nodes, but if the one we connect to drops than 
Apex won’t know any other server to connect to?

Thanks,
Alex

From: "hsy...@gmail.com" 
Reply-To: "users@apex.apache.org" 
Date: Thursday, August 25, 2016 at 12:57 PM
To: "users@apex.apache.org" 
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey Alex,

Does the workaround work? I just want to follow up to see my hypothesis for the 
root cause is correct. Thanks!

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:56 AM, hsy...@gmail.com<mailto:hsy...@gmail.com> 
mailto:hsy...@gmail.com>> wrote:
Hey Alex,

Yeah, I think there is a bug for multitenant kafka support in the code. I have 
created a ticket
https://issues.apache.org/jira/browse/APEXMALHAR-2199

For now can you try one thing:
Can you try to set your zookeeper to something like this:

   dt.operator.kafkaInputOperator.prop.consumer.zookeeper
   
10.##.##.#:2181/kafka2,10.##.##.##:2181/kafka2,10.##.##.##:2181/kafka2,10.##.##.#:2181/kafka2


or you can just try to set just one of the zookeeper nodes.
For kafka client it only needs to know one running node but you'll lose 
zookeeper HA

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:40 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
ONE_TO_ONE



From: "hsy...@gmail.com<mailto:hsy...@gmail.com>" 
mailto:hsy...@gmail.com>>
Reply-To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Date: Wednesday, August 24, 2016 at 1:38 PM

To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey Alex,

Do you use ONE_TO_ONE or ONE_TO_MANY partition?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:27 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
Hey Siyuan,

We are using 3.4.0

Thanks,
Alex
From: "hsy...@gmail.com<mailto:hsy...@gmail.com>" 
mailto:hsy...@gmail.com>>
Reply-To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Date: Wednesday, August 24, 2016 at 12:47 PM
To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey McCullough,

What malhar version do you use?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
Hey All,

We are using the 0.8.1 kafka operator and the ZK connection string has a chroot 
on it. We get errors when launching and the app fails, is there a proper way in 
apex to append a chroot?


*the ip’s are masked with #, but that’s not how they appear in our code 
obviously*

When we add this to the property for ZK:



   dt.operator.kafkaInputOperator.prop.consumer.zookeeper
   
10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2




We get this error (connecting to a cluster without chroot it works fine):


2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient 
processStateChanged - zookeeper state changed (SyncConnected)
2016-08-24 11:55:13,585 
[ZkClient-EventThread-30-10.##.##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
 INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session: 
0x4558654aacf4263 closed
2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run - 
EventThread shut down
2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator 
definePartitions - [ONE_TO_ONE]: Initializing partition(s)
2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure - 
Service com.datatorrent.stram.StreamingAppMasterService failed in state INITED; 
cause: java.lang.IllegalArgumentException: there has to be one idempotent 
storage manager
java.lang.IllegalArgumentException: there has to be one idempotent storage 
manager
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:93)
at 
org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(FSWindowDataManager.java:251)
at 
com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.definePartitions(AbstractKafkaInputOperator.java:637)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.initPartitioning(PhysicalPlan.java:752)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.addLogicalOperator(PhysicalPlan.java:1676)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.(PhysicalPlan.java:378)
at 
com.datatorrent.stram.StreamingContainerManager.(StreamingCo

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-25 Thread McCullough, Alex
Hey Siyuan,

Sorry for the delay ran into some unrelated cluster issues yesterday that 
prevented me from testing.

Working on testing this this afternoon and I will let you know.

Thanks,
Alex


From: "hsy...@gmail.com" 
Reply-To: "users@apex.apache.org" 
Date: Thursday, August 25, 2016 at 12:57 PM
To: "users@apex.apache.org" 
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey Alex,

Does the workaround work? I just want to follow up to see my hypothesis for the 
root cause is correct. Thanks!

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:56 AM, hsy...@gmail.com<mailto:hsy...@gmail.com> 
mailto:hsy...@gmail.com>> wrote:
Hey Alex,

Yeah, I think there is a bug for multitenant kafka support in the code. I have 
created a ticket
https://issues.apache.org/jira/browse/APEXMALHAR-2199

For now can you try one thing:
Can you try to set your zookeeper to something like this:

   dt.operator.kafkaInputOperator.prop.consumer.zookeeper
   
10.##.##.#:2181/kafka2,10.##.##.##:2181/kafka2,10.##.##.##:2181/kafka2,10.##.##.#:2181/kafka2


or you can just try to set just one of the zookeeper nodes.
For kafka client it only needs to know one running node but you'll lose 
zookeeper HA

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:40 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
ONE_TO_ONE



From: "hsy...@gmail.com<mailto:hsy...@gmail.com>" 
mailto:hsy...@gmail.com>>
Reply-To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Date: Wednesday, August 24, 2016 at 1:38 PM

To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey Alex,

Do you use ONE_TO_ONE or ONE_TO_MANY partition?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:27 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
Hey Siyuan,

We are using 3.4.0

Thanks,
Alex
From: "hsy...@gmail.com<mailto:hsy...@gmail.com>" 
mailto:hsy...@gmail.com>>
Reply-To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Date: Wednesday, August 24, 2016 at 12:47 PM
To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey McCullough,

What malhar version do you use?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
Hey All,

We are using the 0.8.1 kafka operator and the ZK connection string has a chroot 
on it. We get errors when launching and the app fails, is there a proper way in 
apex to append a chroot?


*the ip’s are masked with #, but that’s not how they appear in our code 
obviously*

When we add this to the property for ZK:



   dt.operator.kafkaInputOperator.prop.consumer.zookeeper
   
10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2




We get this error (connecting to a cluster without chroot it works fine):


2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient 
processStateChanged - zookeeper state changed (SyncConnected)
2016-08-24 11:55:13,585 
[ZkClient-EventThread-30-10.##.##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
 INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session: 
0x4558654aacf4263 closed
2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run - 
EventThread shut down
2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator 
definePartitions - [ONE_TO_ONE]: Initializing partition(s)
2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure - 
Service com.datatorrent.stram.StreamingAppMasterService failed in state INITED; 
cause: java.lang.IllegalArgumentException: there has to be one idempotent 
storage manager
java.lang.IllegalArgumentException: there has to be one idempotent storage 
manager
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:93)
at 
org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(FSWindowDataManager.java:251)
at 
com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.definePartitions(AbstractKafkaInputOperator.java:637)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.initPartitioning(PhysicalPlan.java:752)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.addLogicalOperator(PhysicalPlan.java:1676)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.(PhysicalPlan.java:378)
at 
com.datatorrent.stram.StreamingContainerManager.(StreamingContainerManager.java:418)
at 
com.datatorrent.stram.StreamingContainerManager.getInstance(StreamingContainerManager.java:3023)
at 
com.datatorrent.stram.StreamingA

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-25 Thread hsy...@gmail.com
Hey Alex,

Does the workaround work? I just want to follow up to see my hypothesis for
the root cause is correct. Thanks!

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:56 AM, hsy...@gmail.com  wrote:

> Hey Alex,
>
> Yeah, I think there is a bug for multitenant kafka support in the code. I
> have created a ticket
> https://issues.apache.org/jira/browse/APEXMALHAR-2199
>
> For now can you try one thing:
> Can you try to set your zookeeper to something like this:
>
> 
>
>dt.operator.kafkaInputOperator.prop.consumer.zookeeper
>
>10.##.##.#:2181/kafka2,10.##.##.##:2181/kafka2,10.##.
> ##.##:2181/kafka2,10.##.##.#:2181/kafka2
>
> 
>
>
> or you can just try to set just one of the zookeeper nodes.
>
> For kafka client it only needs to know one running node but you'll lose
> zookeeper HA
>
>
> Regards,
>
> Siyuan
>
> On Wed, Aug 24, 2016 at 10:40 AM, McCullough, Alex <
> alex.mccullo...@capitalone.com> wrote:
>
>> ONE_TO_ONE
>>
>>
>>
>>
>>
>>
>>
>> *From: *"hsy...@gmail.com" 
>> *Reply-To: *"users@apex.apache.org" 
>> *Date: *Wednesday, August 24, 2016 at 1:38 PM
>>
>> *To: *"users@apex.apache.org" 
>> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>>
>>
>>
>> Hey Alex,
>>
>>
>>
>> Do you use ONE_TO_ONE or ONE_TO_MANY partition?
>>
>>
>>
>> Regards,
>>
>> Siyuan
>>
>>
>>
>> On Wed, Aug 24, 2016 at 10:27 AM, McCullough, Alex <
>> alex.mccullo...@capitalone.com> wrote:
>>
>> Hey Siyuan,
>>
>>
>>
>> We are using 3.4.0
>>
>>
>>
>> Thanks,
>>
>> Alex
>>
>> *From: *"hsy...@gmail.com" 
>> *Reply-To: *"users@apex.apache.org" 
>> *Date: *Wednesday, August 24, 2016 at 12:47 PM
>> *To: *"users@apex.apache.org" 
>> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>>
>>
>>
>> Hey McCullough,
>>
>>
>>
>> What malhar version do you use?
>>
>>
>>
>> Regards,
>>
>> Siyuan
>>
>>
>>
>> On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex <
>> alex.mccullo...@capitalone.com> wrote:
>>
>> Hey All,
>>
>>
>>
>> We are using the 0.8.1 kafka operator and the ZK connection string has a
>> chroot on it. We get errors when launching and the app fails, is there a
>> proper way in apex to append a chroot?
>>
>>
>>
>>
>>
>> **the ip’s are masked with #, but that’s not how they appear in our code
>> obviously**
>>
>>
>>
>> When we add this to the property for ZK:
>>
>>
>>
>>
>>
>> 
>>
>>dt.operator.kafkaInputOperator.prop.consumer.
>> zookeeper
>>
>>10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.
>> ##.##.#:2181/kafka2
>>
>> 
>>
>>
>>
>>
>>
>>
>>
>> We get this error (connecting to a cluster without chroot it works fine):
>>
>>
>>
>>
>>
>> 2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient
>> processStateChanged - zookeeper state changed (SyncConnected)
>>
>> 2016-08-24 11:55:13,585 [ZkClient-EventThread-30-10.##
>> .##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
>> INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
>>
>> 2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session:
>> 0x4558654aacf4263 closed
>>
>> 2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run
>> - EventThread shut down
>>
>> 2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator
>> definePartitions - [ONE_TO_ONE]: Initializing partition(s)
>>
>> 2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure
>> - Service com.datatorrent.stram.StreamingAppMasterService failed in
>> state INITED; cause: java.lang.IllegalArgumentException: there has to be
>> one idempotent storage manager
>>
>> java.lang.IllegalArgumentException: there has to be one idempotent
>> storage manager
>>
>> at com.google.common.base.Preconditions.checkArgument(Precondit
>> ions.java:93)
>>
>> at org.apache.apex.malhar.lib.wal.FSWindowDataManager.partition
>> ed(FSWindowDataManager.java:251)
>>
>> at com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.def
&g

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-24 Thread hsy...@gmail.com
Hey Alex,

Yeah, I think there is a bug for multitenant kafka support in the code. I
have created a ticket
https://issues.apache.org/jira/browse/APEXMALHAR-2199

For now can you try one thing:
Can you try to set your zookeeper to something like this:



   dt.operator.kafkaInputOperator.prop.consumer.zookeeper

   10.##.##.#:2181/kafka2,10.##.#
#.##:2181/kafka2,10.##.##.##:2181/kafka2,10.##.##.#:2181/kafka2




or you can just try to set just one of the zookeeper nodes.

For kafka client it only needs to know one running node but you'll lose
zookeeper HA


Regards,

Siyuan

On Wed, Aug 24, 2016 at 10:40 AM, McCullough, Alex <
alex.mccullo...@capitalone.com> wrote:

> ONE_TO_ONE
>
>
>
>
>
>
>
> *From: *"hsy...@gmail.com" 
> *Reply-To: *"users@apex.apache.org" 
> *Date: *Wednesday, August 24, 2016 at 1:38 PM
>
> *To: *"users@apex.apache.org" 
> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>
>
>
> Hey Alex,
>
>
>
> Do you use ONE_TO_ONE or ONE_TO_MANY partition?
>
>
>
> Regards,
>
> Siyuan
>
>
>
> On Wed, Aug 24, 2016 at 10:27 AM, McCullough, Alex <
> alex.mccullo...@capitalone.com> wrote:
>
> Hey Siyuan,
>
>
>
> We are using 3.4.0
>
>
>
> Thanks,
>
> Alex
>
> *From: *"hsy...@gmail.com" 
> *Reply-To: *"users@apex.apache.org" 
> *Date: *Wednesday, August 24, 2016 at 12:47 PM
> *To: *"users@apex.apache.org" 
> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>
>
>
> Hey McCullough,
>
>
>
> What malhar version do you use?
>
>
>
> Regards,
>
> Siyuan
>
>
>
> On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex <
> alex.mccullo...@capitalone.com> wrote:
>
> Hey All,
>
>
>
> We are using the 0.8.1 kafka operator and the ZK connection string has a
> chroot on it. We get errors when launching and the app fails, is there a
> proper way in apex to append a chroot?
>
>
>
>
>
> **the ip’s are masked with #, but that’s not how they appear in our code
> obviously**
>
>
>
> When we add this to the property for ZK:
>
>
>
>
>
> 
>
>dt.operator.kafkaInputOperator.prop.consumer.zookeeper
>
>10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.
> ##.##.#:2181/kafka2
>
> 
>
>
>
>
>
>
>
> We get this error (connecting to a cluster without chroot it works fine):
>
>
>
>
>
> 2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient
> processStateChanged - zookeeper state changed (SyncConnected)
>
> 2016-08-24 11:55:13,585 [ZkClient-EventThread-30-10.##
> .##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
> INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
>
> 2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session:
> 0x4558654aacf4263 closed
>
> 2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run
> - EventThread shut down
>
> 2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator
> definePartitions - [ONE_TO_ONE]: Initializing partition(s)
>
> 2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure -
> Service com.datatorrent.stram.StreamingAppMasterService failed in state
> INITED; cause: java.lang.IllegalArgumentException: there has to be one
> idempotent storage manager
>
> java.lang.IllegalArgumentException: there has to be one idempotent
> storage manager
>
> at com.google.common.base.Preconditions.checkArgument(
> Preconditions.java:93)
>
> at org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(
> FSWindowDataManager.java:251)
>
> at com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.
> definePartitions(AbstractKafkaInputOperator.java:637)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> initPartitioning(PhysicalPlan.java:752)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> addLogicalOperator(PhysicalPlan.java:1676)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.(
> PhysicalPlan.java:378)
>
> at com.datatorrent.stram.StreamingContainerManager.(
> StreamingContainerManager.java:418)
>
> at com.datatorrent.stram.StreamingContainerManager.getInstance(
> StreamingContainerManager.java:3023)
>
> at com.datatorrent.stram.StreamingAppMasterService.serviceInit(
> StreamingAppMasterService.java:551)
>
> at org.apache.hadoop.service.AbstractService.init(
> AbstractService.java:163)
>
> at com.datatorrent.stram.StreamingAppMaster.main(
> StreamingAppMaster.java:102)
>
> 2016-08-24 11

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-24 Thread McCullough, Alex
ONE_TO_ONE



From: "hsy...@gmail.com" 
Reply-To: "users@apex.apache.org" 
Date: Wednesday, August 24, 2016 at 1:38 PM
To: "users@apex.apache.org" 
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey Alex,

Do you use ONE_TO_ONE or ONE_TO_MANY partition?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:27 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
Hey Siyuan,

We are using 3.4.0

Thanks,
Alex
From: "hsy...@gmail.com<mailto:hsy...@gmail.com>" 
mailto:hsy...@gmail.com>>
Reply-To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Date: Wednesday, August 24, 2016 at 12:47 PM
To: "users@apex.apache.org<mailto:users@apex.apache.org>" 
mailto:users@apex.apache.org>>
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey McCullough,

What malhar version do you use?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
Hey All,

We are using the 0.8.1 kafka operator and the ZK connection string has a chroot 
on it. We get errors when launching and the app fails, is there a proper way in 
apex to append a chroot?


*the ip’s are masked with #, but that’s not how they appear in our code 
obviously*

When we add this to the property for ZK:



   dt.operator.kafkaInputOperator.prop.consumer.zookeeper
   
10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2




We get this error (connecting to a cluster without chroot it works fine):


2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient 
processStateChanged - zookeeper state changed (SyncConnected)
2016-08-24 11:55:13,585 
[ZkClient-EventThread-30-10.##.##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
 INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session: 
0x4558654aacf4263 closed
2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run - 
EventThread shut down
2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator 
definePartitions - [ONE_TO_ONE]: Initializing partition(s)
2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure - 
Service com.datatorrent.stram.StreamingAppMasterService failed in state INITED; 
cause: java.lang.IllegalArgumentException: there has to be one idempotent 
storage manager
java.lang.IllegalArgumentException: there has to be one idempotent storage 
manager
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:93)
at 
org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(FSWindowDataManager.java:251)
at 
com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.definePartitions(AbstractKafkaInputOperator.java:637)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.initPartitioning(PhysicalPlan.java:752)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.addLogicalOperator(PhysicalPlan.java:1676)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.(PhysicalPlan.java:378)
at 
com.datatorrent.stram.StreamingContainerManager.(StreamingContainerManager.java:418)
at 
com.datatorrent.stram.StreamingContainerManager.getInstance(StreamingContainerManager.java:3023)
at 
com.datatorrent.stram.StreamingAppMasterService.serviceInit(StreamingAppMasterService.java:551)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:102)
2016-08-24 11:55:13,604 [main] WARN  service.AbstractService stopQuietly - When 
stopping the service com.datatorrent.stram.StreamingAppMasterService : 
java.lang.NullPointerException
java.lang.NullPointerException
at 
com.datatorrent.stram.StreamingAppMasterService.serviceStop(StreamingAppMasterService.java:629)
at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
at 
org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
at 
org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:171)
at 
com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:102)
2016-08-24 11:55:13,605 [main] ERROR stram.StreamingAppMaster main - Exiting 
Application Master
java.lang.IllegalArgumentException: there has to be one idempotent storage 
manager
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:93)
at 
org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(FSWindowDataManager.java:251)
at 
com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.definePartitions(AbstractKafkaInputOperator.java:637)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.initPartitioning(PhysicalPlan.java:752

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-24 Thread hsy...@gmail.com
Hey Alex,

Do you use ONE_TO_ONE or ONE_TO_MANY partition?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 10:27 AM, McCullough, Alex <
alex.mccullo...@capitalone.com> wrote:

> Hey Siyuan,
>
>
>
> We are using 3.4.0
>
>
>
> Thanks,
>
> Alex
>
> *From: *"hsy...@gmail.com" 
> *Reply-To: *"users@apex.apache.org" 
> *Date: *Wednesday, August 24, 2016 at 12:47 PM
> *To: *"users@apex.apache.org" 
> *Subject: *Re: Malhar 0.8.1.1 Kafka Operator and chroot
>
>
>
> Hey McCullough,
>
>
>
> What malhar version do you use?
>
>
>
> Regards,
>
> Siyuan
>
>
>
> On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex <
> alex.mccullo...@capitalone.com> wrote:
>
> Hey All,
>
>
>
> We are using the 0.8.1 kafka operator and the ZK connection string has a
> chroot on it. We get errors when launching and the app fails, is there a
> proper way in apex to append a chroot?
>
>
>
>
>
> **the ip’s are masked with #, but that’s not how they appear in our code
> obviously**
>
>
>
> When we add this to the property for ZK:
>
>
>
>
>
> 
>
>dt.operator.kafkaInputOperator.prop.consumer.zookeeper
>
>10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.
> ##.##.#:2181/kafka2
>
> 
>
>
>
>
>
>
>
> We get this error (connecting to a cluster without chroot it works fine):
>
>
>
>
>
> 2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient
> processStateChanged - zookeeper state changed (SyncConnected)
>
> 2016-08-24 11:55:13,585 [ZkClient-EventThread-30-10.##
> .##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
> INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
>
> 2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session:
> 0x4558654aacf4263 closed
>
> 2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run
> - EventThread shut down
>
> 2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator
> definePartitions - [ONE_TO_ONE]: Initializing partition(s)
>
> 2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure -
> Service com.datatorrent.stram.StreamingAppMasterService failed in state
> INITED; cause: java.lang.IllegalArgumentException: there has to be one
> idempotent storage manager
>
> java.lang.IllegalArgumentException: there has to be one idempotent
> storage manager
>
> at com.google.common.base.Preconditions.checkArgument(
> Preconditions.java:93)
>
> at org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(
> FSWindowDataManager.java:251)
>
> at com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.
> definePartitions(AbstractKafkaInputOperator.java:637)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> initPartitioning(PhysicalPlan.java:752)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> addLogicalOperator(PhysicalPlan.java:1676)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.(
> PhysicalPlan.java:378)
>
> at com.datatorrent.stram.StreamingContainerManager.(
> StreamingContainerManager.java:418)
>
> at com.datatorrent.stram.StreamingContainerManager.getInstance(
> StreamingContainerManager.java:3023)
>
> at com.datatorrent.stram.StreamingAppMasterService.serviceInit(
> StreamingAppMasterService.java:551)
>
> at org.apache.hadoop.service.AbstractService.init(
> AbstractService.java:163)
>
> at com.datatorrent.stram.StreamingAppMaster.main(
> StreamingAppMaster.java:102)
>
> 2016-08-24 11:55:13,604 [main] WARN  service.AbstractService stopQuietly -
> When stopping the service com.datatorrent.stram.StreamingAppMasterService
> : java.lang.NullPointerException
>
> java.lang.NullPointerException
>
> at com.datatorrent.stram.StreamingAppMasterService.serviceStop(
> StreamingAppMasterService.java:629)
>
> at org.apache.hadoop.service.AbstractService.stop(
> AbstractService.java:221)
>
> at org.apache.hadoop.service.ServiceOperations.stop(
> ServiceOperations.java:52)
>
> at org.apache.hadoop.service.ServiceOperations.stopQuietly(
> ServiceOperations.java:80)
>
> at org.apache.hadoop.service.AbstractService.init(
> AbstractService.java:171)
>
> at com.datatorrent.stram.StreamingAppMaster.main(
> StreamingAppMaster.java:102)
>
> 2016-08-24 11:55:13,605 [main] ERROR stram.StreamingAppMaster main -
> Exiting Application Master
>
> java.lang.IllegalArgumentException: there has to be one idempotent
> storage manager
>
> at com.google.common.base.Preconditions.checkArgument(
&g

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-24 Thread McCullough, Alex
Hey Siyuan,

We are using 3.4.0

Thanks,
Alex
From: "hsy...@gmail.com" 
Reply-To: "users@apex.apache.org" 
Date: Wednesday, August 24, 2016 at 12:47 PM
To: "users@apex.apache.org" 
Subject: Re: Malhar 0.8.1.1 Kafka Operator and chroot

Hey McCullough,

What malhar version do you use?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex 
mailto:alex.mccullo...@capitalone.com>> wrote:
Hey All,

We are using the 0.8.1 kafka operator and the ZK connection string has a chroot 
on it. We get errors when launching and the app fails, is there a proper way in 
apex to append a chroot?


*the ip’s are masked with #, but that’s not how they appear in our code 
obviously*

When we add this to the property for ZK:



   dt.operator.kafkaInputOperator.prop.consumer.zookeeper
   
10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2




We get this error (connecting to a cluster without chroot it works fine):


2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient 
processStateChanged - zookeeper state changed (SyncConnected)
2016-08-24 11:55:13,585 
[ZkClient-EventThread-30-10.##.##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
 INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session: 
0x4558654aacf4263 closed
2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run - 
EventThread shut down
2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator 
definePartitions - [ONE_TO_ONE]: Initializing partition(s)
2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure - 
Service com.datatorrent.stram.StreamingAppMasterService failed in state INITED; 
cause: java.lang.IllegalArgumentException: there has to be one idempotent 
storage manager
java.lang.IllegalArgumentException: there has to be one idempotent storage 
manager
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:93)
at 
org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(FSWindowDataManager.java:251)
at 
com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.definePartitions(AbstractKafkaInputOperator.java:637)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.initPartitioning(PhysicalPlan.java:752)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.addLogicalOperator(PhysicalPlan.java:1676)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.(PhysicalPlan.java:378)
at 
com.datatorrent.stram.StreamingContainerManager.(StreamingContainerManager.java:418)
at 
com.datatorrent.stram.StreamingContainerManager.getInstance(StreamingContainerManager.java:3023)
at 
com.datatorrent.stram.StreamingAppMasterService.serviceInit(StreamingAppMasterService.java:551)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:102)
2016-08-24 11:55:13,604 [main] WARN  service.AbstractService stopQuietly - When 
stopping the service com.datatorrent.stram.StreamingAppMasterService : 
java.lang.NullPointerException
java.lang.NullPointerException
at 
com.datatorrent.stram.StreamingAppMasterService.serviceStop(StreamingAppMasterService.java:629)
at org.apache.hadoop.service.AbstractService.stop(AbstractService.java:221)
at 
org.apache.hadoop.service.ServiceOperations.stop(ServiceOperations.java:52)
at 
org.apache.hadoop.service.ServiceOperations.stopQuietly(ServiceOperations.java:80)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:171)
at 
com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:102)
2016-08-24 11:55:13,605 [main] ERROR stram.StreamingAppMaster main - Exiting 
Application Master
java.lang.IllegalArgumentException: there has to be one idempotent storage 
manager
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:93)
at 
org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(FSWindowDataManager.java:251)
at 
com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.definePartitions(AbstractKafkaInputOperator.java:637)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.initPartitioning(PhysicalPlan.java:752)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.addLogicalOperator(PhysicalPlan.java:1676)
at 
com.datatorrent.stram.plan.physical.PhysicalPlan.(PhysicalPlan.java:378)
at 
com.datatorrent.stram.StreamingContainerManager.(StreamingContainerManager.java:418)
at 
com.datatorrent.stram.StreamingContainerManager.getInstance(StreamingContainerManager.java:3023)
at 
com.datatorrent.stram.StreamingAppMasterService.serviceInit(StreamingAppMasterService.java:551)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
com.datatorrent.stram.StreamingAppMaster.main(StreamingAppMaster.java:102)

_

Re: Malhar 0.8.1.1 Kafka Operator and chroot

2016-08-24 Thread hsy...@gmail.com
Hey McCullough,

What malhar version do you use?

Regards,
Siyuan

On Wed, Aug 24, 2016 at 9:07 AM, McCullough, Alex <
alex.mccullo...@capitalone.com> wrote:

> Hey All,
>
>
>
> We are using the 0.8.1 kafka operator and the ZK connection string has a
> chroot on it. We get errors when launching and the app fails, is there a
> proper way in apex to append a chroot?
>
>
>
>
>
> **the ip’s are masked with #, but that’s not how they appear in our code
> obviously**
>
>
>
> When we add this to the property for ZK:
>
>
>
>
>
> 
>
>dt.operator.kafkaInputOperator.prop.consumer.zookeeper
>
>10.##.##.#:2181,10.##.##.##:2181,10.##.##.##:2181,10.
> ##.##.#:2181/kafka2
>
> 
>
>
>
>
>
>
>
> We get this error (connecting to a cluster without chroot it works fine):
>
>
>
>
>
> 2016-08-24 11:55:13,448 [main-EventThread] INFO  zkclient.ZkClient
> processStateChanged - zookeeper state changed (SyncConnected)
>
> 2016-08-24 11:55:13,585 [ZkClient-EventThread-30-10.##
> .##.#:2181,10.##.##.##:2181,10.##.##.#:2181/kafka2,10.##.##.##:2181]
> INFO  zkclient.ZkEventThread run - Terminate ZkClient event thread.
>
> 2016-08-24 11:55:13,596 [main] INFO  zookeeper.ZooKeeper close - Session:
> 0x4558654aacf4263 closed
>
> 2016-08-24 11:55:13,596 [main-EventThread] INFO  zookeeper.ClientCnxn run
> - EventThread shut down
>
> 2016-08-24 11:55:13,597 [main] INFO  kafka.AbstractKafkaInputOperator
> definePartitions - [ONE_TO_ONE]: Initializing partition(s)
>
> 2016-08-24 11:55:13,602 [main] INFO  service.AbstractService noteFailure -
> Service com.datatorrent.stram.StreamingAppMasterService failed in state
> INITED; cause: java.lang.IllegalArgumentException: there has to be one
> idempotent storage manager
>
> java.lang.IllegalArgumentException: there has to be one idempotent
> storage manager
>
> at com.google.common.base.Preconditions.checkArgument(
> Preconditions.java:93)
>
> at org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(
> FSWindowDataManager.java:251)
>
> at com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.
> definePartitions(AbstractKafkaInputOperator.java:637)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> initPartitioning(PhysicalPlan.java:752)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> addLogicalOperator(PhysicalPlan.java:1676)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.(
> PhysicalPlan.java:378)
>
> at com.datatorrent.stram.StreamingContainerManager.(
> StreamingContainerManager.java:418)
>
> at com.datatorrent.stram.StreamingContainerManager.getInstance(
> StreamingContainerManager.java:3023)
>
> at com.datatorrent.stram.StreamingAppMasterService.serviceInit(
> StreamingAppMasterService.java:551)
>
> at org.apache.hadoop.service.AbstractService.init(
> AbstractService.java:163)
>
> at com.datatorrent.stram.StreamingAppMaster.main(
> StreamingAppMaster.java:102)
>
> 2016-08-24 11:55:13,604 [main] WARN  service.AbstractService stopQuietly -
> When stopping the service com.datatorrent.stram.StreamingAppMasterService
> : java.lang.NullPointerException
>
> java.lang.NullPointerException
>
> at com.datatorrent.stram.StreamingAppMasterService.serviceStop(
> StreamingAppMasterService.java:629)
>
> at org.apache.hadoop.service.AbstractService.stop(
> AbstractService.java:221)
>
> at org.apache.hadoop.service.ServiceOperations.stop(
> ServiceOperations.java:52)
>
> at org.apache.hadoop.service.ServiceOperations.stopQuietly(
> ServiceOperations.java:80)
>
> at org.apache.hadoop.service.AbstractService.init(
> AbstractService.java:171)
>
> at com.datatorrent.stram.StreamingAppMaster.main(
> StreamingAppMaster.java:102)
>
> 2016-08-24 11:55:13,605 [main] ERROR stram.StreamingAppMaster main -
> Exiting Application Master
>
> java.lang.IllegalArgumentException: there has to be one idempotent
> storage manager
>
> at com.google.common.base.Preconditions.checkArgument(
> Preconditions.java:93)
>
> at org.apache.apex.malhar.lib.wal.FSWindowDataManager.partitioned(
> FSWindowDataManager.java:251)
>
> at com.datatorrent.contrib.kafka.AbstractKafkaInputOperator.
> definePartitions(AbstractKafkaInputOperator.java:637)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> initPartitioning(PhysicalPlan.java:752)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.
> addLogicalOperator(PhysicalPlan.java:1676)
>
> at com.datatorrent.stram.plan.physical.PhysicalPlan.(
> PhysicalPlan.java:378)
>
> at com.datatorrent.stram.StreamingContainerManager.(
> StreamingContainerManager.java:418)
>
> at com.datatorrent.stram.StreamingContainerManager.getInstance(
> StreamingContainerManager.java:3023)
>
> at com.datatorrent.stram.StreamingAppMasterService.serviceInit(
> StreamingAppMasterService.java:551)
>
> at org.apache.hadoop.service.AbstractService.init(
> AbstractService.java:163)
>
> at com.datatorrent.stram.StreamingAppMaster.main(
> StreamingAppMaster.ja