1. Home
  2. Know how
  3. How to Start and Stop FileGPS Application
  1. Home
  2. Videos
  3. How to Start and Stop FileGPS Application

How to Start and Stop FileGPS Application

1. How to Start FileGPS Application: 

In FileGPS Application we have only one consumer which is SparkHBaseclient and all the order and unattended data will get into this consumer. 

To Start a FileGPS Consumer and UI for the first time, go to 

  • cd /usr/hdp/filegps_release/FILEGPSV42/
  • ./scripts/runFileGpsApp.sh

This command will automatically start the FileGPS Consumer along with the FileGPS UI, To check the running status of the Consumer.

  • ps -ef | grep SparkHB 

To check the status of UI, Go to browser and

  • https://publicip:7080/FileGPS

Now, This confirms FileGPS Application with Consumer and UI started successfully. Based on the Access privileges user can log in to UI.

2. How to Stop FileGPS Application:

To stop FileGPS Application, FileGPS Consumer and UI need to be stopped.

To do that

  • ps -ef | grep SparkHB
  • kill -9 PID

This will kill the SparkHbaseclient. By doing this will stop spark streaming and yarn jobs which will halt the application from working but FileGPS UI will be Working and accessible.

To stop the FileGPS UI, Stop the tomcat from the following path.

  • cd /usr/hdp/filegps_release/FILEGPSV42/dashboard/bin/
  • ./shutdown.sh

This will kill the FileGPS UI running on Tomcat.

3. How to Start only FileGPS Consumer:

To start only the FileGPS Consumer, go to

  • cd /usr/hdp/filegps_release/FILEGPSV42/
  • ./scripts/consumers.sh

This will start the FileGPS Consumer.

To check the running status of the Consumer.

  • ps -ef | grep SparkHB 

This action will also Yarn Application, To check the running status of Yarn Application

  • yarn application –list

Streaming, Processing and Storing of Data is done only when Yarn application is in running state.

4. How to Start only FileGPS UI:

To stop only the FileGPS UI, go to

  • cd /usr/hdp/filegps_release/FILEGPSV42/dashboard/bin/
  • ./startup.sh

This will start the FileGPS UI from Tomcat and can be accessed with

https://publicip:7080/FileGPS

Updated on July 29, 2019

Was this article helpful?

Related Articles

Leave a Comment