Member since
04-04-2016
41
Posts
6
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
748 | 04-28-2016 01:28 AM | |
844 | 04-05-2016 05:06 PM |
05-11-2016
10:01 PM
Hi, Would it be possible to see the offsets committed to zookeeper of a kafka topic when we consumer it using "storm-kafka" integration & is it possbile to edit the offset committed to zookeeper to re-consume the topic messages again?
And can someone help me identify, Which class of "storm-kafka" does actually write/commits the offset to zookeeper ? &
which class actually fetches the last committed offset when we re-run a storm topology with same client id ?
Thanks a lot.
... View more
Labels:
- Labels:
-
Apache Kafka
-
Apache Storm
04-28-2016
01:28 AM
After following the link https://issues.apache.org/jira/browse/STORM-1521 i was able to fix the authentication problem i observed!!
... View more
04-28-2016
01:28 AM
After following the link https://issues.apache.org/jira/browse/STORM-1521 i was able to fix the authentication problem i observed!!
... View more
04-28-2016
01:26 AM
Thanks a lot @Josh Elser. That solved my issue. Thanks very much
... View more
04-27-2016
10:28 PM
Can you please me the git link for what changes have been done in that issue, to fix it. I could n't locate the exact chagnes from the link you shared. @Josh Elser. Thanks a lot.
... View more
04-27-2016
10:09 PM
Hi, I had written a custom bolt extending, BaseBasicBolt NOT RichBolt, where i wrote my custom code to connect to HBase and write input stream into HBase table. To do this, i am creating connections to HBase in my prepare method, as below and closing connections in cleanup(). public void prepare(Map stormConf, TopologyContext context) {
try {
fmt = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
config = HBaseConfiguration.create();
config.set("hadoop.security.authentication", "Kerberos");
config.set("hbase.security.authentication", "kerberos");
config.addResource("hdfs-site.xml");
config.addResource("core-site.xml");
config.addResource("hbase-site.xml");
UserGroupInformation.setConfiguration(config);
UserGroupInformation.loginUserFromKeytab(KEYTAB_PRINC, KEYTAB_PATH);
LOG.info("HBase Cnxn Done.");
connection = ConnectionFactory.createConnection(config);
table = connection.getTable(TableName.valueOf(HBASE_TABLE_NAME));
}catch (Exception e) {
System.out.println("Exception occured during hbase connection preparations" + e.getMessage());
e.printStackTrace();
}
} The issue is, when i am running my storm topology with 1executor and 1task, topology is running fine without any issues, but when i increase the executors/tasks, say 15executors & 60tasks, bolt where i am doing hbase connections is failing with authentication issues, like GSS exceptions!!!. Can some one pls share your knowledge/insight into what gng wrong with my code. Thanks a lot...
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache HBase
-
Apache Storm
04-27-2016
10:05 PM
Hi, I had written a custom bolt extending, BaseBasicBolt NOT RichBolt, where i wrote my custom code to connect to HBase and write input stream into HBase table. To do this, i am creating connections to HBase in my prepare method, as below and closing connections in cleanup(). public void prepare(Map stormConf, TopologyContext context) {
try {
fmt = DateTimeFormat.forPattern("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
config = HBaseConfiguration.create();
config.set("hadoop.security.authentication", "Kerberos");
config.set("hbase.security.authentication", "kerberos");
config.addResource("hdfs-site.xml");
config.addResource("core-site.xml");
config.addResource("hbase-site.xml");
UserGroupInformation.setConfiguration(config);
UserGroupInformation.loginUserFromKeytab(KEYTAB_PRINC, KEYTAB_PATH);
LOG.info("HBase Cnxn Done.");
connection = ConnectionFactory.createConnection(config);
table = connection.getTable(TableName.valueOf(HBASE_TABLE_NAME));
}catch (Exception e) {
System.out.println("Exception occured during hbase connection preparations" + e.getMessage());
e.printStackTrace();
}
} The issue is, when i am running my storm topology with 1executor and 1task, topology is running fine without any issues, but when i increase the executors/tasks, say 15executors & 60tasks, bolt where i am doing hbase connections is failing with authentication issues, like GSS exceptions!!!. Can some one pls share your knowledge/insight into what gng wrong with my code. Thanks a lot...
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache HBase
-
Apache Storm
04-05-2016
05:06 PM
Found the reason for showing wrong summary in UI, Below setting in my code is the reason to show more no.of executors/tasks in topology summary. configured.setNumAckers(30); Once i commented that line, topology summary is showing correct count!
... View more
04-04-2016
10:08 PM
1 Kudo
I am seeing topology summary of my topology is giving wrong information of showing more number of executors and more no.of tasks than actually it is taking to run!!!
Please refer to the screenshot attached and help me fix the issue...
I am not sure, what went wrong... why is the topology summary showing 33 executors & 33 tasks, when i actually configured code to use only 1 executor and 1 task!! Also, as you can see, only summary part of the topology page is showing more executors/taks, but the actual reporting of Spouts/Bolts is showing correctly 1 exector/task for each respective spout/bolt..!!
Can someone help me with your thoughs, on i am seeing wrong information in StormUI ? Thanks!!
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Storm
04-04-2016
08:54 PM
Unable to build maven application, getting the error:
Could not resolve dependencies for project : The following artifacts could not be resolved: org.apache.storm:storm-core:jar:0.9.3.2.2.4.0-2633, org.apache.storm:storm-hdfs:jar:0.9.3.2.2.4.0-2633, org.apache.storm:storm-kafka:jar:0.9.3.2.2.4.0-2633, org.apache.storm:storm-hbase:jar:0.9.3.2.2.4.0-2633, org.apache.zookeeper:zookeeper:jar:3.4.6.2.2.4.0-2633, org.apache.kafka:kafka_2.10:jar:0.8.1.2.2.4.0-2633: Could not find artifact org.apache.storm:storm-core:jar:0.9.3.2.2.4.0-2633 in HDPReleases (http://repo.hortonworks.com/content/repositories/releases/) -> [Help 1]
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Storm
- « Previous
-
- 1
- 2
- Next »