You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by GitBox <gi...@apache.org> on 2020/09/03 13:33:03 UTC
[GitHub] [griffin] ambition119 opened a new pull request #582: [griffin-service] use service tar.gz deploy and griffin.sh start
ambition119 opened a new pull request #582:
URL: https://github.com/apache/griffin/pull/582
If we use` java -jar` start service ,then It is inconvenient to modify the configuration file. Modifying the configuration file requires recompiling the jar. And it is inconvenient to stop the service.
This PR provides `tar.gz` installation method and shell startup method,and it has been deployed and run in our production environment.
1. ls -al service-0.6.0-SNAPSHOT
bin
config
lib
2. cd service-0.6.0-SNAPSHOT/
3. ./bin/griffin.sh start
4. jps
17860 GriffinWebApplication
5. ./bin/griffin.sh stop
stopping 17860 of service ...
If start service, we can access http://${ip}:8080
![image](https://user-images.githubusercontent.com/20353043/92120728-ffc00480-ee2b-11ea-9e9b-8a02d208bf4b.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [griffin] ambition119 commented on pull request #582: [griffin-service] use service tar.gz deploy and griffin.sh start
Posted by GitBox <gi...@apache.org>.
ambition119 commented on pull request #582:
URL: https://github.com/apache/griffin/pull/582#issuecomment-688175473
> Thanks for your PR.
>
> It is weird that our ci failed.
I view ci log content, like error :
```log
2020-09-03 13:40:31.648 ERROR 11355 --- [ main] o.a.g.c.m.h.HiveMetaStoreService [79] : Can not get databases : {}
org.apache.hadoop.hive.metastore.api.MetaException: null
2020-09-03 13:40:31.657 ERROR 11355 --- [ main] o.a.g.c.m.h.HiveMetaStoreService [79] : Can not get databases : {}
2020-09-03 13:40:37.639 ERROR 11355 --- [ main] o.a.g.c.u.PropertiesUtil [49] : Get properties from .././quartz.properties failed. java.io.FileNotFoundException: class path resource [../quartz.properties] cannot be opened because it does not exist
2020-09-03 13:40:45.645 ERROR 11355 --- [ main] o.a.g.c.u.FSUtil [98] : Can not get hdfs file system. {}
java.lang.IllegalStateException: Variable substitution depth too large: 20 ${fs.defaultFS}
2020-09-03 13:40:45.679 ERROR 11355 --- [ main] o.a.g.c.j.SparkSubmitJob [110] : Post spark task ERROR.
java.lang.ClassCastException: org.quartz.impl.JobDetailImpl cannot be cast to org.quartz.JobExecutionContext
2020-09-03 13:40:47.895 ERROR 11355 --- [ool-11-thread-1] o.s.s.s.TaskUtils$LoggingErrorHandler [96] : Unexpected error occurred in scheduled task.
java.lang.IllegalArgumentException: Cannot find cache named 'hive' for Builder[public void org.apache.griffin.core.metastore.hive.HiveMetaStoreServiceImpl.evictHiveCache()] caches=[hive] | key='' | keyGenerator='cacheKeyGenerator' | cacheManager='' | cacheResolver='' | condition='',true,true
```
But I did not find the content related to the build script of ci. It should be normal after the script `jar `is replaced with `tar.gz`. do you have any good advice?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [griffin] guoyuepeng commented on pull request #582: [griffin-service] use service tar.gz deploy and griffin.sh start
Posted by GitBox <gi...@apache.org>.
guoyuepeng commented on pull request #582:
URL: https://github.com/apache/griffin/pull/582#issuecomment-687798660
Thanks for your PR.
It is wired that our ci failed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [griffin] asfgit closed pull request #582: [griffin-service] use service tar.gz deploy and griffin.sh start
Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #582:
URL: https://github.com/apache/griffin/pull/582
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [griffin] guoyuepeng edited a comment on pull request #582: [griffin-service] use service tar.gz deploy and griffin.sh start
Posted by GitBox <gi...@apache.org>.
guoyuepeng edited a comment on pull request #582:
URL: https://github.com/apache/griffin/pull/582#issuecomment-687798660
Thanks for your PR.
It is weird that our ci failed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [griffin] guoyuepeng commented on pull request #582: [griffin-service] use service tar.gz deploy and griffin.sh start
Posted by GitBox <gi...@apache.org>.
guoyuepeng commented on pull request #582:
URL: https://github.com/apache/griffin/pull/582#issuecomment-689922584
LGTM
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org