A newbie issue. Deployed the github master branch.
After a successful build, I configured asterixdb to run single instance
(using managix) - as documented on
https://asterixdb.ics.uci.edu/documentation/install.html#Section1SingleMachineAsterixDBInstallation
But cluster controller fails to start. the logs dont reveal anything abt
the error though. Appears to be some obvious mistake but in the absence of
the error messages, finding it tough to triage. I see 3 log files (i dont
understand why it starts 2 NCs and a CC when i am running a single instance
asterixdb).
root@ubuntu205:/home/veerals/work/installer# managix configure
root@ubuntu205:/home/veerals/work/installer# managix validate
INFO: Environment [OK]
INFO: Managix Configuration [OK]
root@ubuntu205:/home/veerals/work/installer# $MANAGIX_HOME/bin/managix
create -n try1 -c /home/veerals/work/installer/clusters/local/local.xml
INFO: Name:try1
Created:Fri Mar 04 15:22:22 IST 2016
Web-Url:http://127.0.0.1:19001
State:UNUSABLE
WARNING!:Cluster Controller not running at master
root@ubuntu205:/home/veerals/work/installer# managix describe -n try1 -admin
INFO: Name:try1
Created:Fri Mar 04 15:22:22 IST 2016
Web-Url:http://127.0.0.1:19001
State:UNUSABLE
WARNING!:Cluster Controller not running at master
Master node:master:127.0.0.1
nc1:127.0.0.1
nc2:127.0.0.1
Asterix version:0.8.8-SNAPSHOT
Metadata Node:nc1
Processes
NC at nc1 [ 16781 ]
NC at nc2 [ 16777 ]
Asterix Configuration
nc.java.opts :-Xmx3096m
cc.java.opts :-Xmx1024m
max.wait.active.cluster :60
storage.buffercache.pagesize :131072
storage.buffercache.size :536870912
storage.buffercache.maxopenfiles :214748364
storage.memorycomponent.pagesize :131072
storage.memorycomponent.numpages :256
storage.metadata.memorycomponent.numpages:64
storage.memorycomponent.numcomponents :2
storage.memorycomponent.globalbudget :1073741824
storage.lsm.bloomfilter.falsepositiverate:0.01
txn.log.buffer.numpages :8
txn.log.buffer.pagesize :524288
txn.log.partitionsize :2147483648
txn.log.checkpoint.lsnthreshold :67108864
txn.log.checkpoint.pollfrequency :120
txn.log.checkpoint.history :0
txn.lock.escalationthreshold :1000
txn.lock.shrinktimer :5000
txn.lock.timeout.waitthreshold :60000
txn.lock.timeout.sweepthreshold :10000
compiler.sortmemory :33554432
compiler.joinmemory :33554432
compiler.framesize :131072
compiler.pregelix.home :~/pregelix
web.port :19001
api.port :19002
log.level :INFO
plot.activate :false
The log files dont reveal much:
Thanks and regards
Veeral Shah
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cluster xmlns="cluster">
<java_home>/usr/lib/jvm/java-8-oracle/jre</java_home>
<log_dir>/home/veerals/work/installer/clusters/local/working_dir/logs</log_dir>
<txn_log_dir>/home/veerals/work/installer/clusters/local/working_dir/txnLogs</txn_log_dir>
<store>storage</store>
<working_dir>
<dir>/home/veerals/work/installer/clusters/local/working_dir</dir>
<NFS>true</NFS>
</working_dir>
<master_node>
<id>master</id>
<client_ip>127.0.0.1</client_ip>
<cluster_ip>127.0.0.1</cluster_ip>
<client_port>1098</client_port>
<cluster_port>1099</cluster_port>
<http_port>8888</http_port>
</master_node>
<node>
<id>nc1</id>
<cluster_ip>127.0.0.1</cluster_ip>
<txn_log_dir>/home/veerals/work/installer/clusters/local/working_dir/nc1/txnLogs</txn_log_dir>
<iodevices>/home/veerals/work/installer/clusters/local/working_dir/nc1/p1,/home/veerals/work/installer/clusters/local/working_dir/nc1/p2</iodevices>
</node>
<node>
<id>nc2</id>
<cluster_ip>127.0.0.1</cluster_ip>
<txn_log_dir>/home/veerals/work/installer/clusters/local/working_dir/nc2/txnLogs</txn_log_dir>
<iodevices>/home/veerals/work/installer/clusters/local/working_dir/nc2/p1,/home/veerals/work/installer/clusters/local/working_dir/nc2/p2</iodevices>
</node>
<heartbeat_period>10000</heartbeat_period>
<max_heartbeat_lapse_periods>5</max_heartbeat_lapse_periods>
<profile_dump_period>0</profile_dump_period>
<default_max_job_attempts>5</default_max_job_attempts>
<job_history_size>10</job_history_size>
<result_time_to_live>86400000</result_time_to_live>
<result_sweep_threshold>60000</result_sweep_threshold>
</cluster>