Hi Team - I am trying to stop the controller insta...
# troubleshooting
a
Hi Team - I am trying to stop the controller instance update the config file and restart the instance. Below stop command is not helping stop the controller instance.
Copy code
./bin/pinot-admin.sh StopProcess -controller
The output looks like below:
Copy code
WARNING: All illegal access operations will be denied in a future release
Executing command: StopProcess -controller
Does anyone have an idea on how to stop the instance?
m
I think that WARNING is unrelated and should not fail the command. Where are you running it from, and what does it log?
a
I am running the command in controller EC2 Instance
I don't see the command getting executed at all
m
Does it have a -exec option
a
m
Try -help
a
Copy code
Valid subCommands are:
	AddTable	<Create a Pinot table>
	ChangeTableState	<Change the state (enable|disable|drop) of Pinot table>
	DeleteSchema	<Delete schema specified via name>
	AddSchema	<Add schema specified in the schema file to the controller>
	AnonymizeData	<Tool to anonymize a given Pinot table data while preserving data characteristics and query patterns>
	DeleteCluster	<Remove the Pinot Cluster from Helix.>
	StartMinion	<Start the Pinot Minion process at the specified port>
	VerifyClusterState	<Verify cluster's state after shutting down several nodes randomly.>
	LaunchDataIngestionJob	<Launch a data ingestion job.>
	StopProcess	<Stop the specified processes.>
	ShowClusterInfo	<Show Pinot Cluster information.>
	VerifySegmentState	<Compares helix IdealState and ExternalView for specified table prefixes>
	QuickStart	<Run Pinot QuickStart.>
	StreamGitHubEvents	<Streams GitHubEvents into a Kafka topic or Kinesis Stream>
	AddTenant	<Add tenant as per the specification provided.>
	StreamAvroIntoKafka	<Stream the specified Avro file into a Kafka topic, which can be read by Pinot
by using org.apache.pinot.plugin.stream.kafka.KafkaJSONMessageDecoder as the
message decoder class name (stream.kafka.decoder.class.name).>
	JsonToPinotSchema	<Extracting Pinot schema file from JSON data file.>
	FileSystem	<Pinot File system operation.>
	RealtimeProvisioningHelper	<Given the table config, partitions, retention and a sample completed segment for a realtime table to be setup, this tool will provide memory used by each host and an optimal segment size for various combinations of hours to consume and hosts. Instead of a completed segment, if schema with characteristics of data is provided, a segment will be generated and used for memory estimation.>
	RebalanceTable	<Reassign instances and segments for a table.>
	CheckOfflineSegmentIntervals	<Prints out offline segments with invalid time intervals>
	CreateSegment	<Create pinot segments from the provided data files.>
	AvroSchemaToPinotSchema	<Extracting Pinot schema file from Avro schema or data file.>
	ValidateConfig	<Validate configs on the specified Zookeeper.>
	UploadSegment	<Upload the Pinot segments.>
	SegmentProcessorFramework	<Runs the SegmentProcessorFramework>
	MoveReplicaGroup	<Move complete set of segment replica from source servers to tagged servers in cluster>
	LaunchSparkDataIngestionJob	<Launch a data ingestion job.>
	UpdateSchema	<Add schema specified in the schema file to the controller>
	StartController	<Start the Pinot Controller Process at the specified port.>
	DeleteTable	<Delete a Pinot table>
	GenerateData	<Generate random data as per the provided schema>
	StartKafka	<Start Kafka at the specified port.>
	DataImportDryRun	<Dry run of data import>
	BootstrapTable	<Run Pinot Bootstrap Table.>
	StartBroker	<Start the Pinot Broker process at the specified port>
	ImportData	<Insert data into Pinot cluster.>
	PostQuery	<Query the uploaded Pinot segments.>
	GitHubEventsQuickStart	<Runs the GitHubEventsQuickstart>
	StartZookeeper	<Start the Zookeeper process at the specified port.>
	ConvertPinotSegment	<Convert Pinot segments to another format such as AVRO/CSV/JSON.>
	OperateClusterConfig	<Operate Pinot Cluster Config. Sample usage: `pinot-admin.sh OperateClusterConfig -operation DELETE -config pinot.broker.enable.query.limit.override`>
	StartServer	<Start the Pinot Server process at the specified port.>
	StartServiceManager	<Start the Pinot Service Process at the specified port.>
	ChangeNumReplicas	<Re-writes idealState to reflect the value of numReplicas in table config>
It has stop process, but not sure why it's not working
I was able to kill the process using PID's and restart the servers and controller, but when I run ingestion job I still see while moving the data in tmp location, it still points to local whereas I have already updated the conf to point to newly mounted volume. Anyone has any idea what might be the issue?
I see this: "controller.local.temp.dir" : "/data/tmp/pinot-tmp-data/" updated, but "java.io.tmpdir" : "/tmp", still shows local /tmp directory. How to I update this to point to new volume?
@Mayank
m
What uses
"java.io.tmpdir"
?