[ 
https://issues.apache.org/jira/browse/HADOOP-17364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Dallig updated HADOOP-17364:
------------------------------------
    Description: 
Hi,

I build regular hadoop images.

At the moment the KEYS file 
([https://dist.apache.org/repos/dist/release/hadoop/common/KEYS]) is invalid.

Error-Message:
{code:java}
gpg: key FC8D04357BB49FF0: public key "Sammi Chen (CODE SIGNING KEY) 
<[email protected]>" imported
gpg: invalid armor header: 
mQINBF9U5ZcBEADJS2a8ihhZtN1wXOJfyLZreuHL9HJxRvogQbhrhpFQrKAusdf2\n
gpg: CRC error; 95D523 - 51AC03
gpg: packet(7) with unknown version 103
gpg: read_block: read error: Unknown version in packet
gpg: import from '/tmp/KEYS' failed: Invalid keyring
gpg: Total number processed: 60
gpg:               imported: 60
gpg: no ultimately trusted keys found
{code}
Steps to reproduce:
 * Install Docker
 * Create a Dockerfile with the following Content
 ** 
{code:java}
FROM alpine:3.12
RUN set -ex && \
    /sbin/apk add --no-cache wget gnupg tar && \
    # Install Hadoop
    /usr/bin/wget -nv 
https://dist.apache.org/repos/dist/release/hadoop/common/KEYS -O /tmp/KEYS && \
    /usr/bin/gpg --import /tmp/KEYS
 {code}

 * Run docker build
 ** 
{code:java}
 docker build -t hadoop-test -f Dockerfile .
{code}

Other users complaining about this error:
 - 
[https://askubuntu.com/questions/1290190/hadoop-gpg-key-is-not-valid-no-ultimately-trusted-keys-found]
 - 
[https://stackoverflow.com/questions/64719392/invalid-keyring-are-hadoop-gpg-keys-are-wrong]

I hope for a quick fix, because automatic builds are currently blocked.

If this duplicates another ticket, please close it and link it to the original.

Best Regards
 Reamer

  was:
Hi,

I build regular hadoop images.

At the moment the KEYS file 
(https://dist.apache.org/repos/dist/release/hadoop/common/KEYS) is invalid.

Error-Message:
 {code}
gpg: key FC8D04357BB49FF0: public key "Sammi Chen (CODE SIGNING KEY) 
<[email protected]>" imported
gpg: invalid armor header: 
mQINBF9U5ZcBEADJS2a8ihhZtN1wXOJfyLZreuHL9HJxRvogQbhrhpFQrKAusdf2\n
gpg: CRC error; 95D523 - 51AC03
gpg: packet(7) with unknown version 103
gpg: read_block: read error: Unknown version in packet
gpg: import from '/tmp/KEYS' failed: Invalid keyring
gpg: Total number processed: 60
gpg:               imported: 60
gpg: no ultimately trusted keys found
{code}


Steps to reproduce:
 * Install Docker
 * Create a Dockerfile with the following Content
 ** 
{code}
FROM alpine:3.12RUN set -ex && \
    /sbin/apk add --no-cache wget gnupg tar && \
    # Install Hadoop
    /usr/bin/wget -nv 
https://dist.apache.org/repos/dist/release/hadoop/common/KEYS -O /tmp/KEYS && \
    /usr/bin/gpg --import /tmp/KEYS
 {code}

 * Run docker build
 ** 
{code}
 docker build -t hadoop-test -f Dockerfile .
{code}

Other users complaining about this error:
 - 
https://askubuntu.com/questions/1290190/hadoop-gpg-key-is-not-valid-no-ultimately-trusted-keys-found
 - 
https://stackoverflow.com/questions/64719392/invalid-keyring-are-hadoop-gpg-keys-are-wrong

I hope for a quick fix, because automatic builds are currently blocked.

If this duplicates another ticket, please close it and link it to the original.

Best Regards
Reamer



> Hadoop GPG key is not valid
> ---------------------------
>
>                 Key: HADOOP-17364
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17364
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Philipp Dallig
>            Priority: Blocker
>
> Hi,
> I build regular hadoop images.
> At the moment the KEYS file 
> ([https://dist.apache.org/repos/dist/release/hadoop/common/KEYS]) is invalid.
> Error-Message:
> {code:java}
> gpg: key FC8D04357BB49FF0: public key "Sammi Chen (CODE SIGNING KEY) 
> <[email protected]>" imported
> gpg: invalid armor header: 
> mQINBF9U5ZcBEADJS2a8ihhZtN1wXOJfyLZreuHL9HJxRvogQbhrhpFQrKAusdf2\n
> gpg: CRC error; 95D523 - 51AC03
> gpg: packet(7) with unknown version 103
> gpg: read_block: read error: Unknown version in packet
> gpg: import from '/tmp/KEYS' failed: Invalid keyring
> gpg: Total number processed: 60
> gpg:               imported: 60
> gpg: no ultimately trusted keys found
> {code}
> Steps to reproduce:
>  * Install Docker
>  * Create a Dockerfile with the following Content
>  ** 
> {code:java}
> FROM alpine:3.12
> RUN set -ex && \
>     /sbin/apk add --no-cache wget gnupg tar && \
>     # Install Hadoop
>     /usr/bin/wget -nv 
> https://dist.apache.org/repos/dist/release/hadoop/common/KEYS -O /tmp/KEYS && 
> \
>     /usr/bin/gpg --import /tmp/KEYS
>  {code}
>  * Run docker build
>  ** 
> {code:java}
>  docker build -t hadoop-test -f Dockerfile .
> {code}
> Other users complaining about this error:
>  - 
> [https://askubuntu.com/questions/1290190/hadoop-gpg-key-is-not-valid-no-ultimately-trusted-keys-found]
>  - 
> [https://stackoverflow.com/questions/64719392/invalid-keyring-are-hadoop-gpg-keys-are-wrong]
> I hope for a quick fix, because automatic builds are currently blocked.
> If this duplicates another ticket, please close it and link it to the 
> original.
> Best Regards
>  Reamer



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to