-
Notifications
You must be signed in to change notification settings - Fork 762
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
报错worker-6710.log:java.nio.channels.OverlappingFileLockException #36
Comments
2013-09-29 10:07:30 TryLockFile [ERROR] trylock |
40-4816-aba3-c7641b99b5d2/index/part-00000,/disk4/taobao/mdrill/higojoin_work/939c6239-6acd-4643-9e1d-bfbd3136956b/store,/disk4/taobao/mdrill/higojoin_tmp/939c6239-6acd-4643-9e1d-bfbd3136956b/47
2013-09-29 10:07:34 IndexUtils [ERROR] higolog copyToLocal error |
错误原因 文件锁 在同一个线程下是不生效的 ,会报错
|
JDK 1.4的文件锁"file locking"允许你以文件为共享资源,对访问进行同步化处理(allows you to synchronize access to a file as a shared resource)。但是,竞争文件的两个线程必须属于两个不同的JVM,或者一个是Java线程,另一个是操作系统的本地线程。由于Java的文件锁是直接映射操作系统的锁机制的,因此其它进程也能看到文件锁。 |
2013-09-29 13:21:10 HigoJoinInvert [INFO] ##joinright##2001 |
还是有报错 2013-09-29 13:49:59 TryLockFile [ERROR] trylock |
apter.call(Executors.java:441) at java.uti
worker-6710.log:java.nio.channels.OverlappingFileLockException
worker-6710.log:java.nio.channels.OverlappingFileLockException
worker-6711.log:java.nio.channels.OverlappingFileLockException
worker-6711.log:java.nio.channels.OverlappingFileLockException
worker-6712.log:java.nio.channels.OverlappingFileLockException
worker-6712.log:java.nio.channels.OverlappingFileLockException
worker-6712.log:org.apache.hadoop.util.Shell$ExitCodeException: chmod: cannot access
/disk4/taobao/mdrill/higojoin_tmp/939c6239-6ac d-4643-9e1d-bfbd3136956b/47/_m.tis': Not a directory worker-6712.log:org.apache.hadoop.util.Shell$ExitCodeException: chmod: cannot access
/disk4/taobao/mdrill/higojoin_tmp/939c6239-6acd-4643-9e1d-bfbd3136956b/47': No such file or directory
worker-6713.log:java.nio.channels.OverlappingFileLockException
worker-6713.log:org.apache.hadoop.util.Shell$ExitCodeException: chmod: cannot access `/disk4/taobao/mdrill/higojoin_tmp/939c6239-6ac
d-4643-9e1d-bfbd3136956b/47/yn_segments_crc_1': No such file or directory
worker-6714.log:java.nio.channels.OverlappingFileLockException
worker-6714.log:java.nio.channels.OverlappingFileLockException
The text was updated successfully, but these errors were encountered: