[Unit] Description=Cluster Framework In Memory File Sharing (master node) After=network.target Wants=network.target [Service] Type=forking ExecStart=/usr/bin/tachyon-start.sh master ExecStop=/usr/bin/tachyon.sh killAll tachyon.master.TachyonMaster User=hdfs Group=hadoop LimitNOFILE=16384 Restart=always RestartSec=20 #PIDFile=/var/run/tachyon/tachyon-master.pid ####################################### # Note: Below are cgroup options ####################################### #Slice= #CPUAccounting=true #CPUShares=1024 #MemoryAccounting=true #TBD: MemoryLimit=bytes, MemorySoftLimit=bytes #BlockIOAccounting=true #BlockIOWeight=?? #BlockIODeviceWeight=?? #TBD: BlockIOReadBandwidth=bytes, BlockIOWriteBandwidth=bytes #DeviceAllow= #DevicePolicy=auto|closed|strict [Install] WantedBy=multi-user.target