You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@gobblin.apache.org by ap...@gmail.com on 2019/12/26 23:22:40 UTC

Apache Gobblin Gitter messages at 2019/12/26 15:22:35

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T17:46:54.816Z]** Hi  @shirshanka , I tried that. Once the
package issues are resolved, `ParquetDataWriterBuilder` crashes on
`CloseOnFlushWriterWrapper` while trying to get
`this.writer=writerSupplier.get();`. I could not get much deeper into it after
that. My observation is that, Parquet writer flow needs more testing.

* * *

####  ![](https://avatars2.githubusercontent.com/u/906477?v=4&s=60) Shirshanka
Das (shirshanka)

**[2019-12-26T17:47:41.228Z]** Ok, are you building gobblin from source?

* * *

####  ![](https://avatars2.githubusercontent.com/u/906477?v=4&s=60) Shirshanka
Das (shirshanka)

**[2019-12-26T17:47:47.216Z]** or pulling from maven repo?

* * *

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T17:48:01.100Z]** Pulling from Maven 0.14.0

* * *

####  ![](https://avatars2.githubusercontent.com/u/906477?v=4&s=60) Shirshanka
Das (shirshanka)

**[2019-12-26T17:48:47.625Z]** Can you paste your job pull / conf file here?

* * *

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T18:03:43.462Z]** Config is very similar to what is described in
the doc. Below is a snippet:

* * *

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T18:04:24.133Z]**

```#### JOB  
job.name=pull_event_logs  
job.group=logpullg  
job.description=Gobblin job to pull event logs from Kafka  
task.maxretries=0  
mr.job.max.mappers=2  
mapreduce.map.memory.mb=4096

#### SOURCE

source.class=com.dea.roku.data.consumers.fork.KafkaForkSource  
topic.whitelist=events  
bootstrap.with.offset=latest  
kafka.brokers=${env:KAFKA_BROKERS}

#### EXTRACT

fork.branches=1  
fork.operator.class=com.dea.roku.data.consumers.fork.events.DataForkOperator  
extract.namespace=org.apache.gobblin.extract.kafka  
extract.limit.enabled=true  
extract.limit.type=count  
extract.limit.count.limit=20000000

#### WRITER

writer.file.path.type=tablename  
writer.destination.type=HDFS  
writer.output.format=PARQUET  
writer.partitioner.class=com.dea.roku.data.consumers.writer.partitioner.events.FactPartitioner

#### PUBLISHER

data.publisher.type=org.apache.gobblin.publisher.TimePartitionedDataPublisher  
data.publisher.replace.final.dir=false

#### Converter, writer, publisher configs per fork

converter.classes.0=com.dea.roku.data.consumers.events.converter.EventConverter  
writer.partitioner.class.0=com.dea.roku.data.consumers.writer.partitioner.events.FactPartitioner  
writer.output.format.0=PARQUET  
writer.file.path.0=fact_events  
writer.fs.uri.0=${env:HADOOP_FS_URI}  
writer.builder.class.0=org.apache.gobblin.writer.ParquetDataWriterBuilder  
writer.staging.dir.0=/gobblin/events/task-staging  
writer.output.dir.0=/gobblin/events/task-output  
data.publisher.fs.uri.0=${env:S3_BUCKET_URI}  
data.publisher.final.dir.0=${env:ROOT_S3_FACT_FOLDER}```

* * *

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T18:06:31.892Z]** EventConverter gets the protobuf events and
converts them into ParquetGroup to write with ParquetDataWriterBuilder

* * *

####  ![](https://avatars2.githubusercontent.com/u/906477?v=4&s=60) Shirshanka
Das (shirshanka)

**[2019-12-26T18:08:39.807Z]** and what is the stack trace you get?

* * *

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T18:13:59.741Z]** Oops! Looks like my logs are cleared. I looked
into the code a couple of times, so let me write it down the stack.

* * *

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T18:14:16.059Z]**

* * *

####  ![](https://avatars0.githubusercontent.com/u/291820?v=4&s=60) Pritam
Sarkar (pritamsarkar86)

**[2019-12-26T18:16:26.213Z]** `PartitionedDataWriter (106) =>
CloseOnFlushWriterWrapper (71) => this.writer = writerSupplier.get();`

* * *

####  ![](https://avatars2.githubusercontent.com/u/906477?v=4&s=60) Shirshanka
Das (shirshanka)

**[2019-12-26T18:17:55.042Z]** and what is the error you get on this?

* * *

####  ![](https://avatars2.githubusercontent.com/u/906477?v=4&s=60) Shirshanka
Das (shirshanka)

**[2019-12-26T18:18:57.440Z]** is it an NPE? or something else?

* * *