systemctl start sdc failed

asked 2018-06-13 01:46:11 -0500

Michael32432432 gravatar image

updated 2018-06-13 09:52:48 -0500

metadaddy gravatar image

I install StreamSets following the documentation provided for "Installing from the Tarball for Systems Using Systemd Init".

After I started the service by "systemctl start sdc", it fails to load.

sdc.service - StreamSets Data Collector (SDC)
   Loaded: loaded (/etc/systemd/system/sdc.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2018-06-13 14:29:17 +08; 48ms ago
  Process: 2612 ExecStart=/etc/sdc/streamsets-datacollector-3.3.0/bin/streamsets dc -verbose (code=exited, status=1/FAILURE)
 Main PID: 2612 (code=exited, status=1/FAILURE)

Jun 13 14:29:17 R74ANSTAR streamsets[2612]: at dagger.ObjectGraph$DaggerObjectGraph.makeGraph(ObjectGraph.java:174)
Jun 13 14:29:17 R74ANSTAR streamsets[2612]: at dagger.ObjectGraph$DaggerObjectGraph.access$000(ObjectGraph.java:138)
Jun 13 14:29:17 R74ANSTAR streamsets[2612]: at dagger.ObjectGraph.create(ObjectGraph.java:129)
Jun 13 14:29:17 R74ANSTAR streamsets[2612]: at com.streamsets.datacollector.main.Main.<init>(Main.java:45)
Jun 13 14:29:17 R74ANSTAR streamsets[2612]: at com.streamsets.datacollector.main.DataCollectorMain.<init>(DataColle...a:29)
Jun 13 14:29:17 R74ANSTAR streamsets[2612]: at com.streamsets.datacollector.main.DataCollectorMain.main(DataCollect...a:55)
Jun 13 14:29:17 R74ANSTAR streamsets[2612]: ... 5 more
Jun 13 14:29:17 R74ANSTAR systemd[1]: sdc.service: main process exited, code=exited, status=1/FAILURE
Jun 13 14:29:17 R74ANSTAR systemd[1]: Unit sdc.service entered failed state.
Jun 13 14:29:17 R74ANSTAR systemd[1]: sdc.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

There were no logs created for sdc.log.

But there were logs provided by gc.log.

gc.log writes the following :-

Java HotSpot(TM) 64-Bit Server VM (25.162-b12) for linux-amd64 JRE (1.8.0_162-b12), built on Dec 19 2017 21:15:48 by "java_re" with gcc 4.3.0 20080428 (Red Hat 4.3.0-8)
Memory: 4k page, physical 3865284k(1034968k free), swap 8257532k(8257532k free)
CommandLine flags: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/sdc/sdc_heapdump_1528871356.hprof -XX:InitialHeapSize=1073741824 -XX:MaxHeapSize=1073741824 -XX:MaxNewSize=87244800 -XX:MaxTenuringThreshold=6 -XX:NewSize=87244800 -XX:OldPLABSize=16 -XX:OldSize=174489600 -XX:-OmitStackTraceInFastThrow -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
Heap
 par new generation   total 76672K, used 66843K [0x00000000c0000000, 0x00000000c5330000, 0x00000000c5330000)
  eden space 68160K,  98% used [0x00000000c0000000, 0x00000000c4146f60, 0x00000000c4290000)
  from space 8512K,   0% used [0x00000000c4290000, 0x00000000c4290000, 0x00000000c4ae0000)
  to   space 8512K,   0% used [0x00000000c4ae0000, 0x00000000c4ae0000, 0x00000000c5330000)
 concurrent mark-sweep generation total 963392K, used 0K [0x00000000c5330000, 0x0000000100000000, 0x0000000100000000)
 Metaspace       used 7590K, capacity 7764K, committed 7936K, reserved 1056768K
  class space    used 933K, capacity 992K, committed 1024K, reserved 1048576K

Please help me on how can I get the sdc services started.

Thanks.

edit retag flag offensive close merge delete

Comments

You can run `journalctl –u sdc` to get the service logs - is there anything helpful there?

metadaddy gravatar imagemetadaddy ( 2018-06-13 09:53:58 -0500 )edit