There is just nc and nc/<node> sections, you should not have nc1, nc2, etc.
also, each no must be unique name, you can not name them all 'red'

Hope it helps,

Thanks,

-MDB

On Thu, Sep 22, 2016 at 8:33 PM mingda li <limingda1...@gmail.com> wrote:

> Dear all,
>
> These days, I am building the AsterixDB on cluster following the
> instruction here:
> https://ci.apache.org/projects/asterixdb/ncservice.html
>
> There are one master node with one nc and three cluster nodes with one nc
> each machine. The cc.conf is as following. And after I use 
> $BASEDIR/bin/asterixncservice
> >red-service.log 2>&1 & to start three cluster nodes' AsterixDB and the
> master node's AsterixDB,   I run $BASEDIR/bin/asterixcc -config-file
> cc.conf > cc.log 2>&1 & to start the CC.  There is no error message and I
> can open the http://master:19001 and run aql. But when I open the
> http://master:19002/admin/cluster, there is only one nc here 
> ({"State":"ACTIVE","Metadata_Node":"red","partition_0":"red"}).
> I couldn't find the ncs on other machines. Does anyone know why?
>
> Thanks,
> Mingda
>
> cc.conf file is as following:
> [nc4/red] txnlogdir=/tmp/asterix/red/txnlog
> coredumpdir=/tmp/asterix/red/coredump iodevices=/tmp/asterix/red
> [nc4]
> app.class=org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint
> storagedir=storage address=131.179.64.23 command=asterixnc
> [nc3/red] txnlogdir=/tmp/asterix/red/txnlog
> coredumpdir=/tmp/asterix/red/coredump iodevices=/tmp/asterix/red
> [nc3]
> app.class=org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint
> storagedir=storage address=131.179.64.22 command=asterixnc
> [nc2/red] txnlogdir=/tmp/asterix/red/txnlog
> coredumpdir=/tmp/asterix/red/coredump iodevices=/tmp/asterix/red
> [nc2]
> app.class=org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint
> storagedir=storage address=131.179.64.21 command=asterixnc
> [nc/red] txnlogdir=/tmp/asterix/red/txnlog
> coredumpdir=/tmp/asterix/red/coredump iodevices=/tmp/asterix/red
> [nc]
> app.class=org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint
> storagedir=storage address=131.179.64.20 command=asterixnc
> [cc] cluster.address = 131.179.64.20 http.port = 12345
>
>
>

Reply via email to