[ 
https://issues.apache.org/jira/browse/MAPREDUCE-5733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506481#comment-14506481
 ] 

Harsh J commented on MAPREDUCE-5733:
------------------------------------

bq. would be forced to have a import statment just to accesss this string call.

Importing that is OK. You can reference it in fully-qualified name style 
alternatively, like is being done in FileInputFormat for example.

> Define and use a constant for property "textinputformat.record.delimiter"
> -------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5733
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5733
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Gelesh
>            Assignee: Gelesh
>            Priority: Trivial
>         Attachments: MAPREDUCE-5733.patch, MAPREDUCE-5733_2.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> (Configugration) conf.set("textinputformat.record.delimiter","myDelimiter") , 
> is bound to typo error. Lets have it as a Static String in some class, to 
> minimise such error. This would also help in IDE like eclipse suggesting the 
> String.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to