Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty extracted directory should be changed #14

Open
xielong opened this issue Jun 25, 2013 · 2 comments
Open

Jetty extracted directory should be changed #14

xielong opened this issue Jun 25, 2013 · 2 comments

Comments

@xielong
Copy link
Contributor

xielong commented Jun 25, 2013

Jetty unpacks deployed apps to /tmp, which get cleaned up by linux.

cat /etc/cron.daily/tmpwatch

! /bin/sh

flags=-umc
/usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix
-x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix
-X '/tmp/hsperfdata_*' 10d /tmp
/usr/sbin/tmpwatch "$flags" 30d /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
if [ -d "$d" ]; then
/usr/sbin/tmpwatch "$flags" -f 30d "$d"
fi
done

uname -r
2.6.32-279.14.1.el6.x86_64

cat /etc/issue
CentOS release 6.3 (Final)
Kernel \r on an \m

@pensz
Copy link
Contributor

pensz commented Jun 25, 2013

Em.. .

A simple way to solve this problem(we use this method in our production env):

  1. can make a work directory {$HWIBASE}/work to save unpacked files.
  2. go to {$HWIBASE} directory , run
nohup hive --service hwi > /tmp/hive.out 2>&1 &

@xielong
Copy link
Contributor Author

xielong commented Jun 25, 2013

Thank you pensz!
Maybe it is a good idea to share the information in the README.md in the form of FAQ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants