You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "liyunzhang_intel (JIRA)" <ji...@apache.org> on 2015/07/03 03:53:05 UTC
[jira] [Commented] (PIG-4619) Cleanup: change the indent size of
some files of pig on spark project from 2 to 4 space
[ https://issues.apache.org/jira/browse/PIG-4619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14612748#comment-14612748 ]
liyunzhang_intel commented on PIG-4619:
---------------------------------------
We use 4 space indent in pig project. If you use IntelliJ as your IDE, you can set your indent size in IntelliJ in File->Settings->Editor->CodeStyle->Java->Tabs and indents(see attachment:indentSize.png).
> Cleanup: change the indent size of some files of pig on spark project from 2 to 4 space
> ---------------------------------------------------------------------------------------
>
> Key: PIG-4619
> URL: https://issues.apache.org/jira/browse/PIG-4619
> Project: Pig
> Issue Type: Sub-task
> Components: spark
> Reporter: liyunzhang_intel
> Assignee: liyunzhang_intel
> Fix For: spark-branch
>
> Attachments: PIG-4619.patch, indentSize.png
>
>
> following files under pig on spark project use 2 space indent:
> org.apache.pig.backend.hadoop.executionengine.spark.converter.CollectedGroupConverter
> org.apache.pig.backend.hadoop.executionengine.spark.JobMetricsListener
> org.apache.pig.backend.hadoop.executionengine.spark.SparkLocalExecType
> Now all the files under this project should use 4 space indent.
> Besides SparkLauncher.java use tab to replace space. We don't use tab to replace space in all the files in this project so need change this file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)