Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume, mail # user - Getting weird error -> 2012-12-10 01:01:42,190 INFO com.cloudera.flume.watchdog.Watchdog: Subprocess exited with value 1


Copy link to this message
-
RE: Getting weird error -> 2012-12-10 01:01:42,190 INFO com.cloudera.flume.watchdog.Watchdog: Subprocess exited with value 1
shouvanik.haldar@... 2012-12-11, 12:43
Getting a weird error in "/usr/lib/flume/logs-10.40.222.77/terracotta-client.log".
The error says

"2012-12-11 07:31:13,909 [logicalNode ec2-75-101-165-36.compute-1.amazonaws.com-19] ERROR com.terracottatech.console - Terracotta license key is required for Enterprise capabilities. Please place terracotta-license.key in Terracotta installed directory or in resource path. You could also specify it through system property -Dcom.tc.productkey.path=/path/to/key
2012-12-11 07:31:13,914 [logicalNode ec2-75-101-165-36.compute-1.amazonaws.com-19] ERROR com.tc.license.LicenseManager - License key not found
org.terracotta.license.LicenseException"

But, I am sure and it shows in terracotta log that license key is getting loaded from the location

"2012-12-11 07:29:48,712 INFO - Terracotta Enterprise 3.6.1, as of 20120125-122228 (Revision 15328-19619 by cruise@su10vmo104 from 3.6.1)
2012-12-11 07:29:49,300 INFO - Successfully loaded base configuration from file at '/mnt/terracotta-ee-3.6.1/bin/tc-config.xml'.
2012-12-11 07:29:49,363 INFO - Log file: '/mnt/terracotta-ee-3.6.1/bin/logs/terracotta-server.log'.
2012-12-11 07:29:49,422 INFO - Terracotta license loaded from /mnt/terracotta-ee-3.6.1/terracotta-license.key
Capabilities: DCV2, TMC, authentication, ehcache, ehcache offheap, operator console, quartz, quartz manager, quartz where, roots, search, security, server array offheap, server striping, sessions
Date of Issue: 2012-09-24
Edition: FX
Expiration Date: 2012-12-31
License Number: Download Trial License - Accept
License Type: Trial
Licensee: Download Trial License - Accept
Max Client Count: 50
Product: Enterprise Suite
ehcache.maxOffHeap: 250G
terracotta.serverArray.maxOffHeap: 250G

2012-12-11 07:29:51,857 INFO - Available Max Runtime Memory: 490MB
2012-12-11 07:29:54,228 INFO - JMX Server started. Available at URL[service:jmx:jmxmp://0.0.0.0:9520]
2012-12-11 07:30:01,233 INFO - Becoming State[ ACTIVE-COORDINATOR ]
2012-12-11 07:30:01,312 INFO - Terracotta Server instance has started up as ACTIVE node on 0:0:0:0:0:0:0:0:9510 successfully, and is now ready for work."
But, when I see the logs at "/var/log/flume/flume-flume-node-ip-10-40-222-77.out", I get the error as

"2012-12-11 07:31:13,909 ERROR - Terracotta license key is required for Enterprise capabilities. Please place terracotta-license.key in Terracotta installed directory or in resource path. You could also specify it through system property -Dcom.tc.productkey.path=/path/to/key"

Please help!
Thanks and Regards,
Shouvanik Haldar | Cloud SME Pool | Mobile:+91-9830017568
-----Original Message-----
From: Haldar, Shouvanik
Sent: Tuesday, December 11, 2012 2:05 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Cc: Haldar, Shouvanik
Subject: RE: Getting weird error -> 2012-12-10 01:01:42,190 INFO com.cloudera.flume.watchdog.Watchdog: Subprocess exited with value 1

The previous error is now resolved. Actually some jars were missing which flume requires. Some errors are still there..I will let you know in a short while.

Thanks and Regards,
Shouvanik Haldar | Cloud SME Pool | Mobile:+91-9830017568
-----Original Message-----
From: Haldar, Shouvanik
Sent: Tuesday, December 11, 2012 1:42 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Getting weird error -> 2012-12-10 01:01:42,190 INFO com.cloudera.flume.watchdog.Watchdog: Subprocess exited with value 1

Hi,

This error is removed. I copied flume-node as flume-master, replace all "node" with "master" and thus it worked! Thanks

Now, I am facing a new weird error. I had mentioned source and sink. Now, Flume node status is set to "OPENING" and nothing else is happening even I do a refresh.

In the flume-master console, I executed the below mentioned commands at the "Configure multiple nodes" textarea!

Please help me. Which logs should I check!

Commands at "Configure multiple nodes" textarea
---------------------------------------------------
ec2-75-101-165-36.compute-1.amazonaws.com:tail("/var/log/flume/test1.log")|agentBESink("ec2-75-101-165-36.compute-1.amazonaws.com",35853);
ec2-75-101-165-36.compute-1.amazonaws.com:collectorSource(35853)|EHCacheSink("Y","/var/log/flume");

When I tail the log at "/var/log/flume/flume-flume-node-ip-10-40-222-77.log", the logs don't move after

"2012-12-11 02:59:48,598 INFO com.cloudera.flume.conf.SinkFactoryImpl: Found sink decorator EHCacheDecorator in com.EHCacheDecorator
2012-12-11 02:59:48,644 INFO com.cloudera.flume.agent.LogicalNode: Node config successfully set to FlumeConfigData: {srcVer:'Wed Dec 31 19:00:00 EST 1969' snkVer:'Wed Dec 31 19:00:00 EST 1969'  ts='Wed Dec 31 19:00:00 EST 1969' flowId:'null' source:'null' sink:'null' }
2012-12-11 02:59:48,771 INFO com.cloudera.flume.agent.FlumeNode: Hadoop Security enabled: false
2012-12-11 02:59:53,484 INFO com.EHCacheSink: EHCacheSink: setting EHCache Debug=Y debugfilePath=/var/log/flume
2012-12-11 02:59:53,486 INFO com.cloudera.flume.collector.CollectorSource: opened
2012-12-11 02:59:53,486 INFO com.cloudera.flume.agent.LogicalNode: Node config successfully set to FlumeConfigData: {srcVer:'Tue Dec 11 02:55:27 EST 2012' snkVer:'Tue Dec 11 02:55:27 EST 2012'  ts='Tue Dec 11 02:55:27 EST 2012' flowId:'default-flow' source:'collectorSource( 35853 )' sink:'EHCacheSink( "Y", "/var/log/flume" )' }
2012-12-11 02:59:53,498 INFO com.cloudera.flume.handlers.thrift.ThriftEventSource: Starting blocking thread pool server on port 35853..."
When I do a "netstat -nlp| grep 35853"
I get
"[root@ip-10-40-222-77 bin]# netstat -nlp| grep 35853
tcp        0      0 :::35853                    :::*                        LISTEN      21096/java

"

Please help!

Thanks and Regards,
Shouvanik Haldar | Cloud SME Pool | Mobile:+91-9830017568

From: Alexander Alten-Lorenz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 11, 2012 1:03 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Getting weird error -> 2012-12-10 01:01:42,190 INFO com.cloudera.flume.wa