You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Lee moon soo (JIRA)" <ji...@apache.org> on 2015/06/23 23:02:42 UTC

[jira] [Created] (ZEPPELIN-127) DisplayUtils breaks some spark code working

Lee moon soo created ZEPPELIN-127:
-------------------------------------

             Summary: DisplayUtils breaks some spark code working 
                 Key: ZEPPELIN-127
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-127
             Project: Zeppelin
          Issue Type: Bug
          Components: Interpreters
            Reporter: Lee moon soo
            Assignee: Lee moon soo
            Priority: Blocker
             Fix For: 0.5.0


Dean1.Wood (Dean1.Wood@ge.com) reported the problem. Following code is throwing exception.

{code}
val wbIPR=Array(8.40,      8.09,      7.56,      6.83,      5.88,      4.72,      3.36,      1.78,      0.0)
val pressureIPR=Array(0.00,10000000.00,20000000.00,30000000.00,40000000.00,50000000.00,60000000.00,70000000.00,80000000.00)
case class IPR (w:Array[Double],p:Array[Double])
val iprInit=IPR(wbIPR,pressureIPR)
val iprList=sc.parallelize((1.0 to 0.9 by -0.001).map(k => IPR(iprInit.w.map(_ * k), iprInit.p)).zipWithIndex,5)
iprList.count()
{code}

I've investigated what cause exception and i've found DisplayUtils cause the  problem (https://github.com/apache/incubator-zeppelin/pull/80)



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