# Writing data to HDFS

## Procedure

1. Double-click tAvroOutput to open its Component view.

   ![](https://help.qlik.com/talend/en-US/studio-getting-started-guide-data-fabric/Resources/images/getting_started-spark_batch_job5.png)
2. Ensure that the Define a storage configuration component check box is selected.
3. In the Folder field, enter the path, or browse to the folder in which you want to write the data.
4. From the Action list, select the operation you need to perform on the folder in question. If the folder already exists, select Overwrite; otherwise, select Create.
5. Press F6 to run this Job.

## Results

The statistics area in the workspace shows the progress of the processing of the generated datasets, segmented and counted as batches.

![](https://help.qlik.com/talend/en-US/studio-getting-started-guide-data-fabric/Resources/images/getting_started-spark_stream_job3.png)

Once done, view the result in the web console of the HDFS system being used.

You can read that the basic\_example- folder is continuously created and click to open one of them, you can see avro files written by this Job.

![](https://help.qlik.com/talend/en-US/studio-getting-started-guide-data-fabric/Resources/images/getting_started-spark_stream_job4.png)

Note that not all the basic\_example- folders contain actual data.