hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prabhu Josephraj <pjos...@cloudera.com.INVALID>
Subject Re: MapReduce Job fails due to corrupted mapreduce.tar.gz
Date Wed, 27 Mar 2019 19:35:47 GMT
Hi Kunal,

     This issue will happen if the mapreduce.tar.gz present in hdfs
path (mapreduce.application.framework.path)
is corrupted due to some Hdfs issue.
Below steps will help to fix the issue

   1. Remove all cached and corrupted mapreduce.tar.gz under the NM local
   2. Replace the corrupted copy in HDFS path
   (mapreduce.application.framework.path) with the good local copy:

   hdfs dfs -rm /hdp/apps/<hdp.version>/mapreduce/mapreduce.tar.gz

   hdfs dfs -put /usr/hdp/<hdp.version>/hadoop/mapreduce.tar.gz

On Wed, Mar 27, 2019 at 10:16 AM Kunal Patil <kunal.patil@gslab.com> wrote:

> Hi,
> I am running mapreduce job on hortonwork data platform (hdp 2.6) cluster
> but it is showing following error.
> Diagnostics: ExitCodeException exitCode=2:
> gzip: /hadoop/yarn/local/filecache/17_tmp/tmp_mapreduce.tar.gz: unexpected
> end of file
> tar: Unexpected EOF in archive
> tar: Unexpected EOF in archive
> tar: Error is not recoverable: exiting now
> Failing this attempt. Failing the application.
> I have tested the jar locally and its working fine but on hdp there is some
> problem.
> mapreduce.tar.gz seems to be getting cahed and is corrupted. Also checked
> parallel execution on ambari agent which is disabled.
> Whats the solution for this ? Please help !
> Thanks & Regards,
> Kunal Patil
> Software Engineer
> GS Lab, Pune
> --
> Confidentiality Notice and Disclaimer: This email (including any
> attachments) contains information that may be confidential, privileged
> and/or copyrighted. If you are not the intended recipient, please notify
> the sender immediately and destroy this email. Any unauthorized use of the
> contents of this email in any manner whatsoever, is strictly prohibited.
> If
> improper activity is suspected, all available information may be used by
> the sender for possible disciplinary action, prosecution, civil claim or
> any remedy or lawful purpose. Email transmission cannot be guaranteed to
> be
> secure or error-free, as information could be intercepted, lost, arrive
> late, or contain viruses. The sender is not liable whatsoever for damage
> resulting from the opening of this message and/or the use of the
> information contained in this message and/or attachments. Expressions in
> this email cannot be treated as opined by the sender company management –
> they are solely expressed by the sender unless authorized.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message