You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gobblin.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/02/16 07:24:00 UTC

[jira] [Work logged] (GOBBLIN-1611) Fix a wrong value for writer.codec.type in the document

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

ASF GitHub Bot logged work on GOBBLIN-1611:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Feb/22 07:23
            Start Date: 16/Feb/22 07:23
    Worklog Time Spent: 10m 
      Work Description: sekikn opened a new pull request #3470:
URL: https://github.com/apache/gobblin/pull/3470


   Dear Gobblin maintainers,
   
   Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
   
   
   ### JIRA
   - [x] My PR addresses the following [Gobblin JIRA](https://issues.apache.org/jira/browse/GOBBLIN/) issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"
       - https://issues.apache.org/jira/browse/GOBBLIN-1611
   
   
   ### Description
   - [x] Here are some details about my PR, including screenshots (if applicable):
   
   The description about  the writer.codec.type property in the document has a little mistake. This PR correct it.
   
   ### Tests
   - [x] My PR adds the following unit tests __OR__ does not need testing for this extremely good reason:
   
   No additional test, since it's just a documentation fix.
   I ran `mkdocs serve` locally and confirmed the document was modified as expected.
   
   ### Commits
   - [x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "[How to write a good git commit message](http://chris.beams.io/posts/git-commit/)":
       1. Subject is separated from body by a blank line
       2. Subject is limited to 50 characters
       3. Subject does not end with a period
       4. Subject uses the imperative mood ("add", not "adding")
       5. Body wraps at 72 characters
       6. Body explains "what" and "why", not "how"
   
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@gobblin.apache.org

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


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

            Worklog Id:     (was: 728072)
    Remaining Estimate: 0h
            Time Spent: 10m

> Fix a wrong value for writer.codec.type in the document
> -------------------------------------------------------
>
>                 Key: GOBBLIN-1611
>                 URL: https://issues.apache.org/jira/browse/GOBBLIN-1611
>             Project: Apache Gobblin
>          Issue Type: Bug
>            Reporter: Kengo Seki
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> According to https://gobblin.readthedocs.io/en/latest/user-guide/Configuration-Properties-Glossary/#Writer-Properties, possible values for the writer.codec.type property are NOCOMPRESSION, DEFLATE, SNAPPY.
> But if NOCOMPRESSION is actually specified, the job fails as follows.
> {code}
> 2022-02-16 14:15:33 JST ERROR [ForkExecutor-0] org.apache.gobblin.runtime.fork.Fork [d_t_1644988532694_0] - Fork 0 of task task_EmbeddedGobblin_1644988532694_0 failed.
> org.apache.avro.AvroRuntimeException: Unrecognized codec: nocompression
> 	at org.apache.avro.file.CodecFactory.fromString(CodecFactory.java:102)
> 	at org.apache.gobblin.util.WriterUtils.getCodecFactory(WriterUtils.java:263)
> 	at org.apache.gobblin.writer.AvroHdfsDataWriter.<init>(AvroHdfsDataWriter.java:65)
> 	at org.apache.gobblin.writer.AvroDataWriterBuilder.build(AvroDataWriterBuilder.java:45)
> 	at org.apache.gobblin.writer.PartitionedDataWriter$4.get(PartitionedDataWriter.java:220)
> 	at org.apache.gobblin.writer.PartitionedDataWriter$4.get(PartitionedDataWriter.java:215)
> 	at org.apache.gobblin.writer.CloseOnFlushWriterWrapper.<init>(CloseOnFlushWriterWrapper.java:73)
> 	at org.apache.gobblin.writer.PartitionedDataWriter.<init>(PartitionedDataWriter.java:214)
> 	at org.apache.gobblin.runtime.fork.Fork.buildWriter(Fork.java:571)
> 	at org.apache.gobblin.runtime.fork.Fork.buildWriterIfNotPresent(Fork.java:579)
> 	at org.apache.gobblin.runtime.fork.Fork.processRecord(Fork.java:525)
> 	at org.apache.gobblin.runtime.fork.AsynchronousFork.processRecord(AsynchronousFork.java:103)
> 	at org.apache.gobblin.runtime.fork.AsynchronousFork.processRecords(AsynchronousFork.java:86)
> 	at org.apache.gobblin.runtime.fork.Fork.run(Fork.java:257)
> 	at org.apache.gobblin.util.executors.MDCPropagatingRunnable.run(MDCPropagatingRunnable.java:39)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> 	at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)