Is it possible that your /tmp partition was full while you unpacked the datatorrent binary?

If you run the command:

   service dtgateway status

does it say "Active: active ..." or "Active: inactive ..." ?

Here's what I found in my copy of /tmp/dt-site-global-hduser.xml :

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
<!-- WARNING: Do not edit this file. Your changes will be overwritten. -->
  <!-- Written by dtgateway on 2016-09-26T13:57:54-->
  <!-- Setting dt.installTime = 1474923474 -->
  <property>
    <name>dt.installTime</name>
    <value>1474923474</value>
  </property>
<!-- WARNING: Do not edit this file. Your changes will be overwritten. -->
</configuration>

If you write this file by hand and run "service dtgateway start", does the work?

-david





On 2016-09-28 02:59, Ambarish Pande wrote:
Hello,

I am trying to install Datatorrent RTS Community edition on one of the
nodes in my cluster. But I am getting the following error.

___________________________________________________

Verifying archive integrity... All good.
Uncompressing DataTorrent Distribution  100%

DataTorrent Platform 3.4.0 will be installed under
/home/hduser/datatorrent/releases/3.4.0

dtGateway can be managed with:
/home/hduser/datatorrent/releases/3.4.0/bin/dtgateway
[start|stop|status]
WARNING: DTGateway may have a problem starting up.  For more details
see /home/hduser/.dt/logs/dtgateway.log
---
Fatal error: java.lang.NullPointerException
[Fatal Error] :-1:-1: Premature end of file.
2016-09-28 20:53:22,433 FATAL org.apache.hadoop.conf.Configuration:
error parsing conf file:/tmp/dt-site-global-hduser.xml
2016-09-28 20:53:22,437 ERROR com.datatorrent.gateway.DTGateway:
Caught exception:
Fatal error: java.lang.NullPointerException
---

________________________________________________________
I checked :/tmp/dt-site-global-hduser.xml but it is empty.

What must be the problem?

Thank You.

Reply via email to