Closed hectcastro closed 7 years ago
Update the configured GeoTrellis catalog endpoint used by Model My Watershed so that the Azavea Datahub catalog endpoint is used.
Connects https://github.com/WikiWatershed/model-my-watershed/issues/1955 Depends on https://github.com/azavea/azavea-data-hub/pull/49
Testing
Build a JAR from this branch using Docker or OpenJDK 7:
$ docker run \ --rm \ --volume ${HOME}/.ivy2:/root/.ivy2 \ --volume ${PWD}:/mmw-geoprocessing \ --workdir /mmw-geoprocessing \ openjdk:7 ./sbt assembly
Afterwards, copy it to the root of your MMW project directory:
$ cp summary/target/scala-2.10/mmw-geoprocessing-assembly-1.2.0.jar \ ~/Projects/model-my-watershed
Then, spin up your MMW development environment and SSH into the worker. Once inside, copy the JAR into the location Spark Job Server wants it at, then restart the service:
vagrant@worker:~$ sudo cp /vagrant/mmw-geoprocessing-assembly-1.2.0.jar /opt/geoprocessing/mmw-geoprocessing-1.2.0.jar vagrant@worker:~$ sudo restart spark-jobserver
Finally, interact with the MMW UI to trigger any and all SJS related asynchronous tasks you know about.
Update the configured GeoTrellis catalog endpoint used by Model My Watershed so that the Azavea Datahub catalog endpoint is used.
Connects https://github.com/WikiWatershed/model-my-watershed/issues/1955 Depends on https://github.com/azavea/azavea-data-hub/pull/49
Testing
Build a JAR from this branch using Docker or OpenJDK 7:
Afterwards, copy it to the root of your MMW project directory:
Then, spin up your MMW development environment and SSH into the worker. Once inside, copy the JAR into the location Spark Job Server wants it at, then restart the service:
Finally, interact with the MMW UI to trigger any and all SJS related asynchronous tasks you know about.