[ 
https://issues.apache.org/jira/browse/HADOOP-17718?focusedWorklogId=600276&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-600276
 ]

ASF GitHub Bot logged work on HADOOP-17718:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/May/21 10:31
            Start Date: 21/May/21 10:31
    Worklog Time Spent: 10m 
      Work Description: hadoop-yetus commented on pull request #3034:
URL: https://github.com/apache/hadoop/pull/3034#issuecomment-845854141


   :confetti_ball: **+1 overall**
   
   
   
   
   
   
   | Vote | Subsystem | Runtime |  Logfile | Comment |
   |:----:|----------:|--------:|:--------:|:-------:|
   | +0 :ok: |  reexec  |   9m 16s |  |  Docker mode activated.  |
   |||| _ Prechecks _ |
   | +1 :green_heart: |  dupname  |   0m  0s |  |  No case conflicting files 
found.  |
   | +0 :ok: |  codespell  |   0m  0s |  |  codespell was not available.  |
   | +0 :ok: |  shelldocs  |   0m  0s |  |  Shelldocs was not available.  |
   | +1 :green_heart: |  @author  |   0m  0s |  |  The patch does not contain 
any @author tags.  |
   |||| _ trunk Compile Tests _ |
   | +0 :ok: |  mvndep  |  16m  5s |  |  Maven dependency ordering for branch  |
   | +1 :green_heart: |  shadedclient  |  13m  8s |  |  branch has no errors 
when building and testing our client artifacts.  |
   |||| _ Patch Compile Tests _ |
   | +0 :ok: |  mvndep  |   0m 29s |  |  Maven dependency ordering for patch  |
   | +1 :green_heart: |  blanks  |   0m  0s |  |  The patch has no blanks 
issues.  |
   | +1 :green_heart: |  hadolint  |   0m  9s |  |  No new issues.  |
   | +1 :green_heart: |  shellcheck  |   0m  0s |  |  No new issues.  |
   | +1 :green_heart: |  shadedclient  |  13m  2s |  |  patch has no errors 
when building and testing our client artifacts.  |
   |||| _ Other Tests _ |
   | +1 :green_heart: |  asflicense  |   0m 33s |  |  The patch does not 
generate ASF License warnings.  |
   |  |   |  54m 32s |  |  |
   
   
   | Subsystem | Report/Notes |
   |----------:|:-------------|
   | Docker | ClientAPI=1.41 ServerAPI=1.41 base: 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3034/2/artifact/out/Dockerfile
 |
   | GITHUB PR | https://github.com/apache/hadoop/pull/3034 |
   | Optional Tests | dupname asflicense codespell hadolint shellcheck 
shelldocs |
   | uname | Linux 1a6bc7f5637d 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 
17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
   | Build tool | maven |
   | Personality | dev-support/bin/hadoop.sh |
   | git revision | trunk / 1701137ef08ea7e3091f0bdaccafd5f46cffe944 |
   | Max. process+thread count | 684 (vs. ulimit of 5500) |
   | modules | C:  U:  |
   | Console output | 
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3034/2/console |
   | versions | git=2.25.1 maven=3.6.3 shellcheck=0.7.0 
hadolint=1.11.1-0-g0e692dd |
   | Powered by | Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org |
   
   
   This message was automatically generated.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 600276)
    Time Spent: 50m  (was: 40m)

> Explicitly set locale in the Dockerfile
> ---------------------------------------
>
>                 Key: HADOOP-17718
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17718
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.3.1
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> When producing the RC bits for 3.3.1, the releasedocmaker step failed.
> {noformat}
> [INFO] --- exec-maven-plugin:1.3.1:exec (releasedocs) @ hadoop-common ---
> Traceback (most recent call last):
>   File 
> "/build/source/patchprocess/apache-yetus-0.13.0/bin/../lib/releasedocmaker/releasedocmaker.py",
>  line 25, in <module>
>     releasedocmaker.main()
>   File 
> "/build/source/patchprocess/apache-yetus-0.13.0/lib/releasedocmaker/releasedocmaker/__init__.py",
>  line 979, in main
>     JIRA_BASE_URL)
>   File 
> "/build/source/patchprocess/apache-yetus-0.13.0/lib/releasedocmaker/releasedocmaker/utils.py",
>  line 199, in write_list
>     self.write_key_raw(jira.get_project(), line)
>   File 
> "/build/source/patchprocess/apache-yetus-0.13.0/lib/releasedocmaker/releasedocmaker/utils.py",
>  line 170, in write_key_raw
>     self.base.write(input_string)
> UnicodeEncodeError: 'ascii' codec can't encode character '\xdc' in position 
> 71: ordinal not in range(128)
> {noformat}
> It turns out if the script reads jiras containing ascended characters, it 
> can't write the report.
> Inside docker container, the default locale is "ANSI_X3.4-1968". Must set it 
> to utf-8 to support special characters.
> Curious why it wasn't a problem before.
> More details: 
> https://stackoverflow.com/questions/43356982/docker-python-set-utf-8-locale



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to