I am trying to install terrier 3.5. i get the following error while doing so and dont know what to do to fix it.
terrier-3.5/lib/fastutil5-5.0.9.jar
terrier-3.5/lib/findbugs-1.3.2-annotations.jar
terrier-3.5/lib/hadoop-0.20.2+228-core.jar
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Could someone please help.
I had the same problem.
The solution is
Download Terrier again, and then install it.
It should work.
There were some packets missing while download.
Related
I have created an installer using install4j and uploaded. But sometimes if the download is not proper we get a corrupt installer (got to know by checking the file size) and it shows following error with error code 34.
Also found thee error to be:
[0:27] verifying integrity length 304907802
[2:157] ERROR: check ReadFile failed 0 0 187816324
I found that this is related to file size. But my question is how can we handle this in installer? As till this point we dont get control (ie.installer actions). I want to show custom error message on this issue.
Thanks in advance.
i am trying to install eclipse for Java development.
But after hitting install i get "installation failed with an error. Show log"
This is the log file:
ERROR: org.eclipse.equinox.p2.artifact.repository code=13 Retry another mirror
ERROR: org.eclipse.oomph.p2.core code=0 Repeated attemps to download http://mirrors.xmission.com/eclipse/oomph/drops/milestone/S20191105-074631-1.15.0-M2/plugins/org.eclipse.nebula.widgets.tablecombo_1.2.0.201910251134.jar from the same site
java.io.IOException: Repeated attemps to download http://mirrors.xmission.com/eclipse/oomph/drops/milestone/S20191105-074631-1.15.0-M2/plugins/org.eclipse.nebula.widgets.tablecombo_1.2.0.201910251134.jar from the same site
at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:122)
at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:255)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:720)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository.java:644)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:776)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.getArtifact(MirrorRequest.java:319)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:289)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:225)
at org.eclipse.equinox.internal.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:155)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:759)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.DownloadJob.run(DownloadJob.java:64)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Maybe you have downloaded a corrupted artifact that now has been cached, and the installation won't run. Try by going under the .p2/org.eclipse.equinox.p2.core/cache path of your Eclipse installation path. You will probably find a zip, but without the extension. Try by deleting it, after doing a backup elsewhere.
Are you behind a corporate network? Maybe there is some kind of proxy blocking the host connection.
I want to verify a cap file using cmd on windows with
verifycap.bat
tool.
I used the following command:
C:\Users\Mohammad\Desktop\VERIFY CAP\verifycap\bin>verifycap.bat imp.exp imp.cap > imp.hash
but the following exception error occurs:
java.util.zip.ZipException: error in the opening zip file
Can anyone help me with resolving this error, please?
I am trying to replace a jar file after it's been added to the class path programmatically.
When I try to replace a jar that's been loaded, it gives me the subject error.
I'm using Windows 8 , and JDK 7.
Any suggestions or workaround is highly appreciated.
error line
Files.copy(Paths.get(sourcePath), Paths.get(desPath), StandardCopyOption.REPLACE_EXISTING);
exception
java.nio.file.NoSuchFileException: D:\test\test.jar
> D:\project\plugins\test.jar
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:205)
at sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:278)
at java.nio.file.Files.copy(Files.java:1225)
at org.test.Test.apply(Test.java:89)
I am running a simple code of MapReduce and am getting the following error:
`Exception in thread "main" java.io.IOException: Error opening job jar: Test.jar
at org.apache.hadoop.util.RunJar.main(RunJar.java:90)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:133)
at java.util.jar.JarFile.<init>(JarFile.java:70)
at org.apache.hadoop.util.RunJar.main(RunJar.java:88)`
Some details of the problem:
My hadoop version is 0.20.
I have set new JobConf(Statecount.class) where Statecount.class is the class from which I am running this job. What do I have to do to resolve this error?
Can anyone help me?
Thanks.
check that the hadoop user (usually 'hadoop') have permission to this file
sometimes hadoop need that some files will be on the HDFS and not in your file system.
Are you trying to run a jar named Test.jar in the java program RunJar?
If so please remember that any local path used could only be the on the name node.