[GitHub] incubator-predictionio issue #418: batchpredict docs

2017-08-03 Thread dszeto
Github user dszeto commented on the issue:

https://github.com/apache/incubator-predictionio/pull/418
  
LGTM. Thanks @mars !


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: How docs are deployed on the web site?

2017-08-03 Thread Naoki Takezoe
Thanks Donald! I got it.

2017-08-04 3:07 GMT+09:00 Donald Szeto :
> PMC members and committers have direct access to ASF Jenkins, which hosts
> our doc site build and publishing. Thanks to Chan Lee these projects were
> setup a while ago.
>
> https://builds.apache.org/job/PredictionIO-build-site/
> https://builds.apache.org/job/PredictionIO-publish-site/
>
> It looks like an upgrade of Jenkins might have broken the linkage between
> build and publish. I have fixed it by enabling Build Authorization.
>
> On Thu, Aug 3, 2017 at 8:57 AM, Naoki Takezoe  wrote:
>
>> Hi,
>>
>> I merged this pull request into livedoc branch:
>> https://github.com/apache/incubator-predictionio/pull/405
>>
>> However it hasn't been applied to the web site yet.
>> I want to know how docs are deployed on the web site to investigate
>> why my fix is not applied.
>>
>> Could anyone help me?
>>
>> --
>> Naoki Takezoe
>>



-- 
Naoki Takezoe


[jira] [Resolved] (PIO-66) Document JIRA processes and add to public documentation

2017-08-03 Thread Donald Szeto (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIO-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donald Szeto resolved PIO-66.
-
   Resolution: Fixed
 Assignee: Takako Shimamoto  (was: Sara Asher)
Fix Version/s: 0.12.0-incubating

> Document JIRA processes and add to public documentation
> ---
>
> Key: PIO-66
> URL: https://issues.apache.org/jira/browse/PIO-66
> Project: PredictionIO
>  Issue Type: Task
>Reporter: Sara Asher
>Assignee: Takako Shimamoto
> Fix For: 0.12.0-incubating
>
>
> https://docs.google.com/document/d/1nQpENncXZq72KeI3WMe_X8Xz8HKkYO2QC12GD3ZKP9g/edit#heading=h.4og7ud94e5g1



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (PIO-111) Document pio batchpredict

2017-08-03 Thread Donald Szeto (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIO-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donald Szeto resolved PIO-111.
--
   Resolution: Fixed
Fix Version/s: 0.12.0-incubating

> Document pio batchpredict
> -
>
> Key: PIO-111
> URL: https://issues.apache.org/jira/browse/PIO-111
> Project: PredictionIO
>  Issue Type: Task
>  Components: Documentation
>Affects Versions: 0.12.0-incubating
>Reporter: Donald Szeto
>Assignee: Mars Hall
>  Labels: newbie
> Fix For: 0.12.0-incubating
>
>
> {{pio batchpredict}} is a new feature created in PIO-105. It needs to be 
> documented.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (PIO-111) Document pio batchpredict

2017-08-03 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/PIO-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16113287#comment-16113287
 ] 

ASF GitHub Bot commented on PIO-111:


Github user asfgit closed the pull request at:

https://github.com/apache/incubator-predictionio/pull/418


> Document pio batchpredict
> -
>
> Key: PIO-111
> URL: https://issues.apache.org/jira/browse/PIO-111
> Project: PredictionIO
>  Issue Type: Task
>  Components: Documentation
>Affects Versions: 0.12.0-incubating
>Reporter: Donald Szeto
>Assignee: Mars Hall
>  Labels: newbie
>
> {{pio batchpredict}} is a new feature created in PIO-105. It needs to be 
> documented.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: August 2017 Release

2017-08-03 Thread Mars Hall
Hit an Authenticated Elasticsearch 5.x problem on the current develop branch.

I just tested the HEAD of develop by performing:

  ./make-distribution.sh \
-Dscala.version=2.11.8 \
-Dspark.version=2.1.0 \
-Dhadoop.version=2.7.3 \
-Delasticsearch.version=5.1.1

Then, tried build/train/deploy of our Universal Recommender template.

Locally, it makes it through train to the point when it saves to Elasticsearch, 
failing with:

> Exception in thread "main" java.lang.NoSuchMethodError: 
> org.elasticsearch.client.RestClient.performRequest(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;[Lorg/apache/http/Header;)Lorg/elasticsearch/client/Response;
>   at org.template.EsClient$.createIndex(EsClient.scala:132)
>   at org.template.EsClient$.hotSwap(EsClient.scala:218)
>   at org.template.URModel.save(URModel.scala:86)

I tried deploying it to Heroku as well, and it fails much earlier when simply 
connecting to Elasticsearch:

> remote: Exception in thread "main" 
> org.elasticsearch.client.ResponseException: HEAD 
> https://xx.us-east-1.bonsaisearch.net:443/pio_meta: HTTP/1.1 401 
> Unauthorized
> remote:   at 
> org.elasticsearch.client.RestClient$1.completed(RestClient.java:311)
> remote:   at 
> org.elasticsearch.client.RestClient$1.completed(RestClient.java:300)
> remote:   at 
> shadeio.data.http.concurrent.BasicFuture.completed(BasicFuture.java:119)
> remote:   at 
> shadeio.data.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:177)
> remote:   at 
> shadeio.data.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:436)
> remote:   at 
> shadeio.data.http.nio.protocol.HttpAsyncRequestExecutor.responseReceived(HttpAsyncRequestExecutor.java:309)
> remote:   at 
> shadeio.data.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:255)


These issues were previously found to be caused by this shade rule:
  
https://github.com/apache/incubator-predictionio/blob/develop/storage/elasticsearch/build.sbt#L42

It looks like the shaded package does not actually use the new authentication 
code.

Chan Lee mentioned to me that he was only able to make the TravisCI build pass 
by adding this shade rule, but it is clearly breaking the authenicated 
Elasticsearch functionality.

Any ideas how to solve this?

*Mars

( <> .. <> )

> On Aug 3, 2017, at 11:02, Donald Szeto  wrote:
> 
> On Thu, Aug 3, 2017 at 10:07 AM, Mars Hall  wrote:
> 
>> I just opened a PR to add docs for batch predict.
>> 
>> Moving forward with the 0.12.0 release sounds great. Today, I will pull
>> develop and see how it's working with the Heroku buildpack.
>> 
> 
> Awesome. Thanks!
> 
> 
>>> On Aug 3, 2017, at 00:37, takako shimamoto  wrote:
>>> 
>>> I think it's almost ready, and now we just have to update the current
>>> documentation.
>>> The deadline of several unresolved issues for Target Version/s:
>>> 0.12.0-incubating is extended, right?
>> 
> 
> Yes. Let's extend those that have not started working if there's no
> objection.



[GitHub] incubator-predictionio issue #405: [PIO-63]Add incubator logo and disclaimer...

2017-08-03 Thread takezoe
Github user takezoe commented on the issue:

https://github.com/apache/incubator-predictionio/pull/405
  
Merged to `livedoc` branch but the web site hasn't been updated yet.
I'm wondering how is docs deployed on the web site...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio pull request #405: [PIO-63]Add incubator logo and dis...

2017-08-03 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/incubator-predictionio/pull/405


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-predictionio issue #405: [PIO-63]Add incubator logo and disclaimer...

2017-08-03 Thread dszeto
Github user dszeto commented on the issue:

https://github.com/apache/incubator-predictionio/pull/405
  
@takezoe It's done by our Jenkins project on ASF: 
https://builds.apache.org/job/PredictionIO-build-site/69/console

Looks like the site built correctly but the publish step failed. I am 
investigating.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


Re: August 2017 Release

2017-08-03 Thread Donald Szeto
On Thu, Aug 3, 2017 at 10:07 AM, Mars Hall  wrote:

> I just opened a PR to add docs for batch predict.
>
> Moving forward with the 0.12.0 release sounds great. Today, I will pull
> develop and see how it's working with the Heroku buildpack.
>

Awesome. Thanks!


> > On Aug 3, 2017, at 00:37, takako shimamoto  wrote:
> >
> > I think it's almost ready, and now we just have to update the current
> > documentation.
> > The deadline of several unresolved issues for Target Version/s:
> > 0.12.0-incubating is extended, right?
>

Yes. Let's extend those that have not started working if there's no
objection.


[jira] [Resolved] (PIO-63) Fix incubator branding issues

2017-08-03 Thread Donald Szeto (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIO-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donald Szeto resolved PIO-63.
-
   Resolution: Fixed
 Assignee: Naoki Takezoe  (was: Donald Szeto)
Fix Version/s: 0.12.0-incubating

> Fix incubator branding issues
> -
>
> Key: PIO-63
> URL: https://issues.apache.org/jira/browse/PIO-63
> Project: PredictionIO
>  Issue Type: Bug
>Affects Versions: 0.11.0-incubating
>Reporter: Donald Szeto
>Assignee: Naoki Takezoe
> Fix For: 0.12.0-incubating
>
>
> {quote}
> John D. Ament 
> Please review the branding guide here: 
> http://incubator.apache.org/guides/branding.html
> Specifically, we expect all podlings to show a logo (the actual logo has 
> changed) for the Incubator, and include a disclaimer (the same release 
> disclaimer) on the website.  I can find neither on your website.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (PIO-63) Fix incubator branding issues

2017-08-03 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/PIO-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16113148#comment-16113148
 ] 

ASF GitHub Bot commented on PIO-63:
---

Github user dszeto commented on the issue:

https://github.com/apache/incubator-predictionio/pull/405
  
@takezoe It's done by our Jenkins project on ASF: 
https://builds.apache.org/job/PredictionIO-build-site/69/console

Looks like the site built correctly but the publish step failed. I am 
investigating.


> Fix incubator branding issues
> -
>
> Key: PIO-63
> URL: https://issues.apache.org/jira/browse/PIO-63
> Project: PredictionIO
>  Issue Type: Bug
>Affects Versions: 0.11.0-incubating
>Reporter: Donald Szeto
>Assignee: Donald Szeto
>
> {quote}
> John D. Ament 
> Please review the branding guide here: 
> http://incubator.apache.org/guides/branding.html
> Specifically, we expect all podlings to show a logo (the actual logo has 
> changed) for the Incubator, and include a disclaimer (the same release 
> disclaimer) on the website.  I can find neither on your website.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


How docs are deployed on the web site?

2017-08-03 Thread Naoki Takezoe
Hi,

I merged this pull request into livedoc branch:
https://github.com/apache/incubator-predictionio/pull/405

However it hasn't been applied to the web site yet.
I want to know how docs are deployed on the web site to investigate
why my fix is not applied.

Could anyone help me?

-- 
Naoki Takezoe


[jira] [Commented] (PIO-63) Fix incubator branding issues

2017-08-03 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/PIO-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16112441#comment-16112441
 ] 

ASF GitHub Bot commented on PIO-63:
---

Github user takezoe commented on the issue:

https://github.com/apache/incubator-predictionio/pull/405
  
Merged to `livedoc` branch but the web site hasn't been updated yet.
I'm wondering how is docs deployed on the web site...


> Fix incubator branding issues
> -
>
> Key: PIO-63
> URL: https://issues.apache.org/jira/browse/PIO-63
> Project: PredictionIO
>  Issue Type: Bug
>Affects Versions: 0.11.0-incubating
>Reporter: Donald Szeto
>Assignee: Donald Szeto
>
> {quote}
> John D. Ament 
> Please review the branding guide here: 
> http://incubator.apache.org/guides/branding.html
> Specifically, we expect all podlings to show a logo (the actual logo has 
> changed) for the Incubator, and include a disclaimer (the same release 
> disclaimer) on the website.  I can find neither on your website.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Re: August 2017 Release

2017-08-03 Thread takako shimamoto
I think it's almost ready, and now we just have to update the current
documentation.
The deadline of several unresolved issues for Target Version/s:
0.12.0-incubating is extended, right?


2017-08-01 5:59 GMT+09:00 Donald Szeto :
> Hey all,
>
> To adhere to the proposed release cadence by Sara, let's shoot to cut a
> release in early August that addresses all the top level graduation issues.
>
> How does the developer community feel about this? Any major issues that we
> should also resolve with this release? It looks like many TLP cleanup, new
> features and bug fixes have already gone into the current development
> branch.
>
> Regards,
> Donald


[jira] [Commented] (PIO-63) Fix incubator branding issues

2017-08-03 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/PIO-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16112244#comment-16112244
 ] 

ASF GitHub Bot commented on PIO-63:
---

Github user asfgit closed the pull request at:

https://github.com/apache/incubator-predictionio/pull/405


> Fix incubator branding issues
> -
>
> Key: PIO-63
> URL: https://issues.apache.org/jira/browse/PIO-63
> Project: PredictionIO
>  Issue Type: Bug
>Affects Versions: 0.11.0-incubating
>Reporter: Donald Szeto
>Assignee: Donald Szeto
>
> {quote}
> John D. Ament 
> Please review the branding guide here: 
> http://incubator.apache.org/guides/branding.html
> Specifically, we expect all podlings to show a logo (the actual logo has 
> changed) for the Incubator, and include a disclaimer (the same release 
> disclaimer) on the website.  I can find neither on your website.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)