You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by vinay patil <vi...@gmail.com> on 2016/12/20 22:21:16 UTC

Re: CodeAnalysisMode in Flink

Hi,

Any updates on this thread ?

Regards,
Vinay Patil

On Fri, Nov 18, 2016 at 10:25 PM, Fabian Hueske-2 [via Apache Flink User
Mailing List archive.] <ml...@n4.nabble.com> wrote:

> Hi Vinay,
>
> not sure why it's not working, but maybe TImo (in CC) can help.
>
> Best, Fabian
>
> 2016-11-18 17:41 GMT+01:00 Vinay Patil <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=10215&i=0>>:
>
>> Hi,
>>
>> According to JavaDoc if I use the below method
>> *env.getConfig().setCodeAnalysisMode(CodeAnalysisMode.HINT);*
>>
>> ,it will print the program improvements to log, however these details are
>> not getting printed to log, I have kept the log4j in resources folder and
>> kept the log level to ALL.
>>
>>  I want to analyse my pipeline to get rid of common mistakes.
>>
>>
>> Regards,
>> Vinay Patil
>>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
> CodeAnalysisMode-in-Flink-tp10212p10215.html
> To start a new topic under Apache Flink User Mailing List archive., email
> ml-node+s2336050n1h83@n4.nabble.com
> To unsubscribe from Apache Flink User Mailing List archive., click here
> <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=dmluYXkxOC5wYXRpbEBnbWFpbC5jb218MXwxODExMDE2NjAx>
> .
> NAML
> <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/CodeAnalysisMode-in-Flink-tp10212p10722.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

Re: CodeAnalysisMode in Flink

Posted by Fabian Hueske <fh...@gmail.com>.
Hi Vinay,

I had a look into the code. The code analysis is only performed for DataSet
(batch) programs and not for DataStream (streaming) programs.
If your program is a DataStream program, this would explain why no
information is shown.

The DataStream API does also not leverage semantic function annotations
(yet).
So analyzing and annotating functions that you use in a streaming program
does not give any benefits at the moment.

In case you analyzing a batch DataSet program, we would need to dig a bit
deeper to identify the problem.

Best, Fabian

2016-12-20 23:21 GMT+01:00 vinay patil <vi...@gmail.com>:

> Hi,
>
> Any updates on this thread ?
>
> Regards,
> Vinay Patil
>
> On Fri, Nov 18, 2016 at 10:25 PM, Fabian Hueske-2 [via Apache Flink User
> Mailing List archive.] <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=10722&i=0>> wrote:
>
>> Hi Vinay,
>>
>> not sure why it's not working, but maybe TImo (in CC) can help.
>>
>> Best, Fabian
>>
>> 2016-11-18 17:41 GMT+01:00 Vinay Patil <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=10215&i=0>>:
>>
>>> Hi,
>>>
>>> According to JavaDoc if I use the below method
>>> *env.getConfig().setCodeAnalysisMode(CodeAnalysisMode.HINT);*
>>>
>>> ,it will print the program improvements to log, however these details
>>> are not getting printed to log, I have kept the log4j in resources folder
>>> and kept the log level to ALL.
>>>
>>>  I want to analyse my pipeline to get rid of common mistakes.
>>>
>>>
>>> Regards,
>>> Vinay Patil
>>>
>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://apache-flink-user-mailing-list-archive.2336050.n4.nab
>> ble.com/CodeAnalysisMode-in-Flink-tp10212p10215.html
>> To start a new topic under Apache Flink User Mailing List archive., email [hidden
>> email] <http:///user/SendEmail.jtp?type=node&node=10722&i=1>
>> To unsubscribe from Apache Flink User Mailing List archive., click here.
>> NAML
>> <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: CodeAnalysisMode in Flink
> <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/CodeAnalysisMode-in-Flink-tp10212p10722.html>
> Sent from the Apache Flink User Mailing List archive. mailing list archive
> <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/> at
> Nabble.com.
>