[Dev] Scala Devs... what are the recommended resources to follow?

2014-11-30 Thread Niranda Perera
Hi,

Call out for all the Scala devs...

Do you have any development resources, references, docs etc that you would
recommend to kick start Scala programming [1]?

We are adding new features to the upcoming BAM Analytics and considering
moving into Spark [2] which is based on Scala.

Your help would be much appreciated!

Rgds

[1] http://www.scala-lang.org/
[2] http://spark.apache.org/docs/latest/index.html

-- 
*Niranda Perera*
Software Engineer, WSO2 Inc.
Mobile: +94-71-554-8430
Twitter: @n1r44 https://twitter.com/N1R44
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Scala Devs... what are the recommended resources to follow?

2014-11-30 Thread Abimaran Kugathasan
Hi Niranda,

I have used Programming in Scala [1] which is co-written by the
language's designer, Martin Odersky

[1] : http://www.artima.com/shop/programming_in_scala_2ed

On Mon, Dec 1, 2014 at 9:33 AM, Niranda Perera nira...@wso2.com wrote:

 Hi,

 Call out for all the Scala devs...

 Do you have any development resources, references, docs etc that you would
 recommend to kick start Scala programming [1]?

 We are adding new features to the upcoming BAM Analytics and considering
 moving into Spark [2] which is based on Scala.

 Your help would be much appreciated!

 Rgds

 [1] http://www.scala-lang.org/
 [2] http://spark.apache.org/docs/latest/index.html

 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data  APIs Technologies Team
Mobile : +94 773922820

http://stackoverflow.com/users/515034
http://lk.linkedin.com/in/abimaran  http://www.lkabimaran.blogspot.com/
https://github.com/abimaran  https://twitter.com/abimaran
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-30 Thread Abimaran Kugathasan
Hi Inshaf,

This happens when you have not set the JAVA_HOME environment variable and
pointed to the installed JRE location. This needs to be explicitly set in
your environment. Refer [1]

[1] :
https://docs.wso2.com/display/BAM241/FAQ#FAQ-Iseeanexceptionstating-java.io.IOException:Cannotrunprogram
null/bin/javawhenrunningBAM?Whatisgoingwrong?

On Fri, Nov 28, 2014 at 6:30 PM, Lakshman Udayakantha lakshm...@wso2.com
wrote:

 Hi Inshaf,

 Did you set the JAVA_HOME in your machine by adding following lines to
 .bashrc or .bash_profile?

 JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

 export JAVA_HOME

 Thanks

 On Fri, Nov 28, 2014 at 6:05 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi Lakshman,

 I tried using both BAM 2.4.0 and 2.4.1. I got the same error on both
 occasion.

 On Fri, Nov 28, 2014 at 5:39 PM, Lakshman Udayakantha lakshm...@wso2.com
  wrote:

 Hi Inshaf,

 You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation
 which is an old one. please try the right documentation[1].

 [1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs

 On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi,

 I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
 After publishing the events to thrift port they were successfully stored in
 Cassandra database which can be viewed using Cassandra Explorer. But I
 am getting following error once I installed the 'HTTPD Logs Analysis
 Toolbox' on BAM console.


 Hive history
 file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
 2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info from
 SCDynamicStore
 OK
 OK
 Total MapReduce jobs = 1
 Launching Job 1 out of 1
 Number of reduce tasks not specified. Estimated from input data size: 1
 In order to change the average load for a reducer (in bytes):
   set hive.exec.reducers.bytes.per.reducer=number
 In order to limit the maximum number of reducers:
   set hive.exec.reducers.max=number
 In order to set a constant number of reducers:
   set mapred.reduce.tasks=number
 java.io.IOException: Cannot run program null/bin/java (in directory
 /Users/inshaf/server/wso2bam-2.4.1): error=2, No such file or directory
 at
 java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
 at java.lang.Runtime.exec(Runtime.java:593)
 at java.lang.Runtime.exec(Runtime.java:431)
 at
 org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
 at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
 at
 org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
 at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
 at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
 at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
 at
 org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
 at
 org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
 at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:695)
 Caused by: java.io.IOException: error=2, No such file or directory
 at java.lang.UNIXProcess.forkAndExec(Native Method)
 at java.lang.UNIXProcess.init(UNIXProcess.java:53)
 at java.lang.ProcessImpl.start(ProcessImpl.java:91)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
 ... 18 more
 [2014-11-28 11:23:03,050] ERROR
 {org.apache.hadoop.hive.ql.exec.ExecDriver} -  Exception: Cannot run
 program null/bin/java (in directory 
 /Users/inshaf/server/wso2bam-2.4.1): error=2, No such file or
 directory
 FAILED: Execution Error, return code 1 from
 org.apache.hadoop.hive.ql.exec.MapRedTask
 [2014-11-28 11:23:03,051] ERROR {org.apache.hadoop.hive.ql.Driver} -
 FAILED: Execution Error, return code 1 from
 org.apache.hadoop.hive.ql.exec.MapRedTask
 [2014-11-28 11:23:03,057] ERROR
 {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error
 while executing Hive script.
 Query returned non-zero code: 9, cause: FAILED: Execution Error, return
 code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
 java.sql.SQLException: Query returned non-zero 

Re: [Dev] Chunk 13 Release

2014-11-30 Thread Aparna Karunarathna
Hi Anjana  Chanika,

Due to the hazelcast issues [1]  [2], Is it OK to stop testing and will
wait for new pack?  So far we have verified the fixes that has been
identified in the last build(15/11/2014).

[1] https://wso2.org/jira/browse/CARBON-15096
[2] https://wso2.org/jira/browse/CARBON-15097


Regards,
Aparna.


On Fri, Nov 28, 2014 at 5:51 PM, Chanika Geeganage chan...@wso2.com wrote:

 The new pack can be found from
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/28-11-2014/

 On Fri, Nov 28, 2014 at 5:28 AM, Chanika Geeganage chan...@wso2.com
 wrote:

 p2-repo is available at
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/p2-repo/

 On Thu, Nov 27, 2014 at 10:39 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 The latest pack can be downloaded from
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/wso2dss-3.2.2.zip

 Thanks

 On Sat, Nov 15, 2014 at 1:08 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 Hi,

 The new DSS 3.2.2 pack is available at
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip

 Thanks

 On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 Hi Aparna,

 Building the p2-repo is halted as some of the released artifacts are
 not deployed to nexus. See Nested categories released in chunk-11 are not
 deployed in nexus. Once this issue is sorted out, I will build the 
 p2-repo
 and update the thread.

 Thanks

 On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Chanika,

 Can you please share the p2 repo as well?

 Regards,
 Aparna.


 On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 Hi,

 Please find the latest DSS 3.2.2 pack from
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip

 Thanks

 On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya 
 mani...@wso2.com wrote:

 Fixed the build and latest DSS and BAM packs are available at
 https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/


 *Maninda Edirisooriya*
 Senior Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *E-mail* : mani...@wso2.com
 *Skype* : @manindae
 *Twitter* : @maninda

 On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya 
 mani...@wso2.com wrote:

 Yes. Yesterday night I built both DSS and BAM and there was a
 build break and a BAM internal defect. Therefore was not able to 
 release
 it. At the moment we are in the process of fixing these issues.


 *Maninda Edirisooriya*
 Senior Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *E-mail* : mani...@wso2.com
 *Skype* : @manindae
 *Twitter* : @maninda

 On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage 
 chan...@wso2.com wrote:

 Hi,

 Both BAM and DSS are added to chunk-13. Yesterday there was some
 issues found in the built BAM pack during smoke test. Maninda will 
 be able
 to give more details about the issues. We will try to resolve those 
 issues
 and provide RC packs today.

 Thanks


 On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias nuw...@wso2.com
 wrote:

 AFAIK only DSS is going on chunk-13. @Chanika, can you confirm
 please?

 BAM/APIM have moved to chunk-14. Ratha is building packs now and
 we should be able to provide packs within the day.

 Thanks,
 NuwanD.

 On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna 
 apa...@wso2.com wrote:

 Hi,

 Since the Chunk 13 release date scheduled on 3rd week of
 November, can you build all chunk 13 packs in the builder machine 
 and share
 the latest packs and p2 repo with us.


 Regards,
 --
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
 0714002533*




 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com






 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
 0714002533*




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




-- 
*Aparna Karunarathna.*


*Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Scala Devs... what are the recommended resources to follow?

2014-11-30 Thread Niranda Perera
Thanks Abimaran.


On Mon, Dec 1, 2014 at 9:37 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Niranda,

 I have used Programming in Scala [1] which is co-written by the
 language's designer, Martin Odersky

 [1] : http://www.artima.com/shop/programming_in_scala_2ed

 On Mon, Dec 1, 2014 at 9:33 AM, Niranda Perera nira...@wso2.com wrote:

 Hi,

 Call out for all the Scala devs...

 Do you have any development resources, references, docs etc that you
 would recommend to kick start Scala programming [1]?

 We are adding new features to the upcoming BAM Analytics and considering
 moving into Spark [2] which is based on Scala.

 Your help would be much appreciated!

 Rgds

 [1] http://www.scala-lang.org/
 [2] http://spark.apache.org/docs/latest/index.html

 --
 *Niranda Perera*
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44 https://twitter.com/N1R44

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 773922820

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran




-- 
*Niranda Perera*
Software Engineer, WSO2 Inc.
Mobile: +94-71-554-8430
Twitter: @n1r44 https://twitter.com/N1R44
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] ELB Comparisons

2014-11-30 Thread Shiva Balachandran
Hi All,

Is there a document making comparisons of ELBs? Like a chart comparing the
ELBs available? I'm looking for a comparison between WSO2 ELB  and NGIX,
AWS ELB.

I found a document on WSO2 ELB and other open source products [1].

[1] -
http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/

Regards

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ELB Comparisons

2014-11-30 Thread Aruna Karunarathna
AFAIR Amalka did something similar. :)


Regards,
Aruna

On Mon, Dec 1, 2014 at 10:29 AM, Shiva Balachandran sh...@wso2.com wrote:

 Hi All,

 Is there a document making comparisons of ELBs? Like a chart comparing the
 ELBs available? I'm looking for a comparison between WSO2 ELB  and NGIX,
 AWS ELB.

 I found a document on WSO2 ELB and other open source products [1].

 [1] -
 http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/

 Regards

 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 

*Aruna Sujith Karunarathna* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ELB Comparisons

2014-11-30 Thread Amalka Subasinghe
Hi,

I didn't do any load balancer comparison.
What I did finding how to configure different load balancers with our
product clusters.

Thanks
Amalka

On Mon, Dec 1, 2014 at 10:37 AM, Aruna Karunarathna ar...@wso2.com wrote:

 AFAIR Amalka did something similar. :)


 Regards,
 Aruna

 On Mon, Dec 1, 2014 at 10:29 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi All,

 Is there a document making comparisons of ELBs? Like a chart comparing
 the ELBs available? I'm looking for a comparison between WSO2 ELB  and
 NGIX, AWS ELB.

 I found a document on WSO2 ELB and other open source products [1].

 [1] -
 http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/

 Regards

 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com





-- 

Amalka Subasinghe

WSO2 Inc.
Mobile: +94 77 9401267
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Error Occurred While Running Sample httpd_logs_script in BAM

2014-11-30 Thread Inshaf Mahath
Hi,

Thanks for the response. I have already added the JAVA_HOME environment
variable which points to JDK 1.7. In my bash_profile I had the following
parameter.

export JAVA_HOME=$(/usr/libexec/java_home) - Points to
/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home

This seems to course the problem. Not sure the exact reason.

Then I installed JDK 1.6 and changed my bash_profile to following.

export
JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
- Points to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

Error got resolved after changing to 1.6. Thanks for the help.






Thanks and BR,



On Mon, Dec 1, 2014 at 10:03 AM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Hi Inshaf,

 This happens when you have not set the JAVA_HOME environment variable and
 pointed to the installed JRE location. This needs to be explicitly set in
 your environment. Refer [1]

 [1] :
 https://docs.wso2.com/display/BAM241/FAQ#FAQ-Iseeanexceptionstating-java.io.IOException:Cannotrunprogram
 null/bin/javawhenrunningBAM?Whatisgoingwrong?

 On Fri, Nov 28, 2014 at 6:30 PM, Lakshman Udayakantha lakshm...@wso2.com
 wrote:

 Hi Inshaf,

 Did you set the JAVA_HOME in your machine by adding following lines to
 .bashrc or .bash_profile?

 JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

 export JAVA_HOME

 Thanks

 On Fri, Nov 28, 2014 at 6:05 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi Lakshman,

 I tried using both BAM 2.4.0 and 2.4.1. I got the same error on both
 occasion.

 On Fri, Nov 28, 2014 at 5:39 PM, Lakshman Udayakantha 
 lakshm...@wso2.com wrote:

 Hi Inshaf,

 You are using BAM 2.4.1. But you are referring BAM 2.4.0 documentation
 which is an old one. please try the right documentation[1].

 [1].https://docs.wso2.com/display/BAM241/Analysing+HTTPD+Logs

 On Fri, Nov 28, 2014 at 5:30 PM, Inshaf Mahath ins...@wso2.com wrote:

 Hi,

 I am trying 'Analysing HTTPD Logs' sample [1] under BAM documentation.
 After publishing the events to thrift port they were successfully stored 
 in
 Cassandra database which can be viewed using Cassandra Explorer. But
 I am getting following error once I installed the 'HTTPD Logs Analysis
 Toolbox' on BAM console.


 Hive history
 file=/Users/inshaf/Documents/Assignments/wso2bam-2.4.1/tmp/hive/wso2-querylogs/hive_job_log_root_201411281123_1016944917.txt
 2014-11-28 11:23:01.995 java[6291:57e17] Unable to load realm info
 from SCDynamicStore
 OK
 OK
 Total MapReduce jobs = 1
 Launching Job 1 out of 1
 Number of reduce tasks not specified. Estimated from input data size: 1
 In order to change the average load for a reducer (in bytes):
   set hive.exec.reducers.bytes.per.reducer=number
 In order to limit the maximum number of reducers:
   set hive.exec.reducers.max=number
 In order to set a constant number of reducers:
   set mapred.reduce.tasks=number
 java.io.IOException: Cannot run program null/bin/java (in directory
 /Users/inshaf/server/wso2bam-2.4.1): error=2, No such file or directory
 at
 java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
 at java.lang.Runtime.exec(Runtime.java:593)
 at java.lang.Runtime.exec(Runtime.java:431)
 at
 org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:317)
 at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:129)
 at
 org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:62)
 at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1351)
 at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1126)
 at org.apache.hadoop.hive.ql.Driver.run(Driver.java:934)
 at
 org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:201)
 at
 org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:187)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.executeHiveQuery(HiveExecutorServiceImpl.java:577)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:287)
 at
 org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:190)
 at
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:695)
 Caused by: java.io.IOException: error=2, No such file or directory
 at java.lang.UNIXProcess.forkAndExec(Native Method)
 at java.lang.UNIXProcess.init(UNIXProcess.java:53)
 at java.lang.ProcessImpl.start(ProcessImpl.java:91)
 at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
 ... 18 more
 [2014-11-28 11:23:03,050] 

Re: [Dev] ELB Comparisons

2014-11-30 Thread Shiva Balachandran
Hi Amalka,

Could you please share documents too.

Thank you

Regards
Shiva Balachandran

On Mon, Dec 1, 2014 at 10:45 AM, Amalka Subasinghe ama...@wso2.com wrote:

 Hi,

 I didn't do any load balancer comparison.
 What I did finding how to configure different load balancers with our
 product clusters.

 Thanks
 Amalka

 On Mon, Dec 1, 2014 at 10:37 AM, Aruna Karunarathna ar...@wso2.com
 wrote:

 AFAIR Amalka did something similar. :)


 Regards,
 Aruna

 On Mon, Dec 1, 2014 at 10:29 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi All,

 Is there a document making comparisons of ELBs? Like a chart comparing
 the ELBs available? I'm looking for a comparison between WSO2 ELB  and
 NGIX, AWS ELB.

 I found a document on WSO2 ELB and other open source products [1].

 [1] -
 http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/

 Regards

 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com





 --

 Amalka Subasinghe

 WSO2 Inc.
 Mobile: +94 77 9401267




-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ELB Comparisons

2014-11-30 Thread Amalka Subasinghe
https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products+without+WSO2+ELB

On Mon, Dec 1, 2014 at 11:18 AM, Shiva Balachandran sh...@wso2.com wrote:

 Hi Amalka,

 Could you please share documents too.

 Thank you

 Regards
 Shiva Balachandran

 On Mon, Dec 1, 2014 at 10:45 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi,

 I didn't do any load balancer comparison.
 What I did finding how to configure different load balancers with our
 product clusters.

 Thanks
 Amalka

 On Mon, Dec 1, 2014 at 10:37 AM, Aruna Karunarathna ar...@wso2.com
 wrote:

 AFAIR Amalka did something similar. :)


 Regards,
 Aruna

 On Mon, Dec 1, 2014 at 10:29 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi All,

 Is there a document making comparisons of ELBs? Like a chart comparing
 the ELBs available? I'm looking for a comparison between WSO2 ELB  and
 NGIX, AWS ELB.

 I found a document on WSO2 ELB and other open source products [1].

 [1] -
 http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/

 Regards

 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com





 --

 Amalka Subasinghe

 WSO2 Inc.
 Mobile: +94 77 9401267




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788




-- 

Amalka Subasinghe

WSO2 Inc.
Mobile: +94 77 9401267
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ELB Comparisons

2014-11-30 Thread Shiva Balachandran
Thank you, Apart from this doc there aren't any other blogs that contain
information on clustering other ELB with our products?

Also, if any one has any comparison documents for WSO2 ELB, NGIX and AWS
ELB, please let me know :)

Regards
Shiva Balachandran

On Mon, Dec 1, 2014 at 11:23 AM, Amalka Subasinghe ama...@wso2.com wrote:


 https://docs.wso2.com/display/CLUSTER420/Clustering+WSO2+Products+without+WSO2+ELB

 On Mon, Dec 1, 2014 at 11:18 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi Amalka,

 Could you please share documents too.

 Thank you

 Regards
 Shiva Balachandran

 On Mon, Dec 1, 2014 at 10:45 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi,

 I didn't do any load balancer comparison.
 What I did finding how to configure different load balancers with our
 product clusters.

 Thanks
 Amalka

 On Mon, Dec 1, 2014 at 10:37 AM, Aruna Karunarathna ar...@wso2.com
 wrote:

 AFAIR Amalka did something similar. :)


 Regards,
 Aruna

 On Mon, Dec 1, 2014 at 10:29 AM, Shiva Balachandran sh...@wso2.com
 wrote:

 Hi All,

 Is there a document making comparisons of ELBs? Like a chart comparing
 the ELBs available? I'm looking for a comparison between WSO2 ELB  and
 NGIX, AWS ELB.

 I found a document on WSO2 ELB and other open source products [1].

 [1] -
 http://wso2.com/library/articles/2014/03/wso2-elb-vs-other-open-source-load-balancers/

 Regards

 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com





 --

 Amalka Subasinghe

 WSO2 Inc.
 Mobile: +94 77 9401267




 --
 Shiva Balachandran
 Software Engineer
 WSO2 Inc.

 Mobile - +94 774445788




 --

 Amalka Subasinghe

 WSO2 Inc.
 Mobile: +94 77 9401267




-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

Mobile - +94 774445788
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chunk 13 Release

2014-11-30 Thread Anjana Fernando
Hi Aparna,

I hope other aspects of DSS has been tested, so yeah, we can wait for the
HZ fixes to test this specific scenario.

Cheers,
Anjana.

On Mon, Dec 1, 2014 at 10:27 AM, Aparna Karunarathna apa...@wso2.com
wrote:

 Hi Anjana  Chanika,

 Due to the hazelcast issues [1]  [2], Is it OK to stop testing and will
 wait for new pack?  So far we have verified the fixes that has been
 identified in the last build(15/11/2014).

 [1] https://wso2.org/jira/browse/CARBON-15096
 [2] https://wso2.org/jira/browse/CARBON-15097


 Regards,
 Aparna.


 On Fri, Nov 28, 2014 at 5:51 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 The new pack can be found from
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/28-11-2014/

 On Fri, Nov 28, 2014 at 5:28 AM, Chanika Geeganage chan...@wso2.com
 wrote:

 p2-repo is available at
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/p2-repo/

 On Thu, Nov 27, 2014 at 10:39 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 The latest pack can be downloaded from
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/27-11-2014/wso2dss-3.2.2.zip

 Thanks

 On Sat, Nov 15, 2014 at 1:08 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 Hi,

 The new DSS 3.2.2 pack is available at
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/15-11-2014-DSS/wso2dss-3.2.2.zip

 Thanks

 On Fri, Nov 14, 2014 at 3:25 PM, Chanika Geeganage chan...@wso2.com
 wrote:

 Hi Aparna,

 Building the p2-repo is halted as some of the released artifacts are
 not deployed to nexus. See Nested categories released in chunk-11 are 
 not
 deployed in nexus. Once this issue is sorted out, I will build the 
 p2-repo
 and update the thread.

 Thanks

 On Fri, Nov 14, 2014 at 8:40 AM, Aparna Karunarathna apa...@wso2.com
  wrote:

 Hi Chanika,

 Can you please share the p2 repo as well?

 Regards,
 Aparna.


 On Thu, Nov 13, 2014 at 9:19 PM, Chanika Geeganage chan...@wso2.com
  wrote:

 Hi,

 Please find the latest DSS 3.2.2 pack from
 https://svn.wso2.org/repos/wso2/scratch/chunk13-release/13-11-2014-DSS/wso2dss-3.2.2.zip

 Thanks

 On Tue, Nov 11, 2014 at 8:14 PM, Maninda Edirisooriya 
 mani...@wso2.com wrote:

 Fixed the build and latest DSS and BAM packs are available at
 https://svn.wso2.org/repos/wso2/people/maninda/BAM_packs/2014-11-11/


 *Maninda Edirisooriya*
 Senior Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *E-mail* : mani...@wso2.com
 *Skype* : @manindae
 *Twitter* : @maninda

 On Tue, Nov 11, 2014 at 2:13 PM, Maninda Edirisooriya 
 mani...@wso2.com wrote:

 Yes. Yesterday night I built both DSS and BAM and there was a
 build break and a BAM internal defect. Therefore was not able to 
 release
 it. At the moment we are in the process of fixing these issues.


 *Maninda Edirisooriya*
 Senior Software Engineer

 *WSO2, Inc.*lean.enterprise.middleware.

 *Blog* : http://maninda.blogspot.com/
 *E-mail* : mani...@wso2.com
 *Skype* : @manindae
 *Twitter* : @maninda

 On Tue, Nov 11, 2014 at 1:17 PM, Chanika Geeganage 
 chan...@wso2.com wrote:

 Hi,

 Both BAM and DSS are added to chunk-13. Yesterday there was some
 issues found in the built BAM pack during smoke test. Maninda will 
 be able
 to give more details about the issues. We will try to resolve those 
 issues
 and provide RC packs today.

 Thanks


 On Tue, Nov 11, 2014 at 11:56 AM, Nuwan Dias nuw...@wso2.com
 wrote:

 AFAIK only DSS is going on chunk-13. @Chanika, can you confirm
 please?

 BAM/APIM have moved to chunk-14. Ratha is building packs now
 and we should be able to provide packs within the day.

 Thanks,
 NuwanD.

 On Tue, Nov 11, 2014 at 11:52 AM, Aparna Karunarathna 
 apa...@wso2.com wrote:

 Hi,

 Since the Chunk 13 release date scheduled on 3rd week of
 November, can you build all chunk 13 packs in the builder machine 
 and share
 the latest packs and p2 repo with us.


 Regards,
 --
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
 0714002533*




 --
 Nuwan Dias

 Associate Tech Lead - WSO2, Inc. http://wso2.com
 email : nuw...@wso2.com
 Phone : +94 777 775 729




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 WSO2, Inc.; http://wso2.com






 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 *Aparna Karunarathna.*


 *Senior Software Engineer - QAWSO2 Inc.Mobile: 0714002533
 0714002533*




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, Inc.; http://wso2.com




 --
 Best Regards..

 Chanika Geeganage
 Software Engineer
 Mobile : +94773522586
 WSO2, 

[Dev] Tenant admin user password - Dummy Passowrd

2014-11-30 Thread Godwin Amila Shrimal
Hi,

When adding a tenant admin user it assigned a dummy password and then again
update with real password. Any reason to implement this dummy password ?
 it practically use anywhere ?


Thanks
Godwin

-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D http://lnkd.in/KUum6D*
twitter: https://twitter.com/godwinamila
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev