You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/01/25 21:40:00 UTC

[jira] [Commented] (DRILL-7712) Fix issues after ZK upgrade

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

ASF GitHub Bot commented on DRILL-7712:
---------------------------------------

eevanwong opened a new pull request #2155:
URL: https://github.com/apache/drill/pull/2155


   # [DRILL-7712](https://issues.apache.org/jira/browse/DRILL-7712): Fix Issues after ZK upgrade
   
   ## Description
   
   Updated unit tests so that it utilizes MappingListenerManager instead of ListenerContainer from Apache Curator which was deprecated in version 5.1.0. Curator v5.1.0 fixes NPE errors in testing phase (also described in DRILL-7843(https://issues.apache.org/jira/browse/DRILL-7843).
   
   ## Documentation
   N/A
   
   ## Testing
   Checked mvn test and the errors that were described are no longer there. 
   
   `[INFO] Running org.apache.drill.exec.coord.zk.TestZookeeperClient
   [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.224 s - in org.apache.drill.exec.coord.zk.TestZookeeperClient
   
   [INFO] Running org.apache.drill.exec.coord.zk.TestEphemeralStore
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.658 s - in org.apache.drill.exec.coord.zk.TestEphemeralStore
   
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.555 s - in org.apache.drill.yarn.zk.TestAmRegistration
   
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 s - in org.apache.drill.yarn.client.TestCommandLineOptions`
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Fix issues after ZK upgrade
> ---------------------------
>
>                 Key: DRILL-7712
>                 URL: https://issues.apache.org/jira/browse/DRILL-7712
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.18.0
>            Reporter: Arina Ielchiieva
>            Assignee: Vova Vysotskyi
>            Priority: Major
>             Fix For: 1.19.0
>
>
> Warnings during jdbc-all build (absent when building with Mapr profile):
> {noformat}
> netty-transport-native-epoll-4.1.45.Final.jar, netty-transport-native-epoll-4.0.48.Final-linux-x86_64.jar define 46 overlapping classes: 
>   - io.netty.channel.epoll.AbstractEpollStreamChannel$2
>   - io.netty.channel.epoll.AbstractEpollServerChannel$EpollServerSocketUnsafe
>   - io.netty.channel.epoll.EpollDatagramChannel
>   - io.netty.channel.epoll.AbstractEpollStreamChannel$SpliceInChannelTask
>   - io.netty.channel.epoll.NativeDatagramPacketArray
>   - io.netty.channel.epoll.EpollSocketChannelConfig
>   - io.netty.channel.epoll.EpollTcpInfo
>   - io.netty.channel.epoll.EpollEventArray
>   - io.netty.channel.epoll.EpollEventLoop
>   - io.netty.channel.epoll.EpollSocketChannel
>   - 36 more...
> netty-transport-native-unix-common-4.1.45.Final.jar, netty-transport-native-epoll-4.0.48.Final-linux-x86_64.jar define 15 overlapping classes: 
>   - io.netty.channel.unix.Errors$NativeConnectException
>   - io.netty.channel.unix.ServerDomainSocketChannel
>   - io.netty.channel.unix.DomainSocketAddress
>   - io.netty.channel.unix.Socket
>   - io.netty.channel.unix.NativeInetAddress
>   - io.netty.channel.unix.DomainSocketChannelConfig
>   - io.netty.channel.unix.Errors$NativeIoException
>   - io.netty.channel.unix.DomainSocketReadMode
>   - io.netty.channel.unix.ErrorsStaticallyReferencedJniMethods
>   - io.netty.channel.unix.UnixChannel
>   - 5 more...
> maven-shade-plugin has detected that some class files are
> present in two or more JARs. When this happens, only one
> single version of the class is copied to the uber jar.
> Usually this is not harmful and you can skip these warnings,
> otherwise try to manually exclude artifacts based on
> mvn dependency:tree -Ddetail=true and the above output.
> See http://maven.apache.org/plugins/maven-shade-plugin/
> {noformat}
> Additional warning build with Mapr profile:
> {noformat}
> The following patterns were never triggered in this artifact inclusion filter:
> o  'org.apache.zookeeper:zookeeper-jute'
> {noformat}
> NPEs in tests (though tests do not fail):
> {noformat}
> [INFO] Running org.apache.drill.exec.coord.zk.TestZookeeperClient
> 4880
> java.lang.NullPointerException
> 4881
> 	at org.apache.zookeeper.server.persistence.FileTxnSnapLog.fastForwardFromEdits(FileTxnSnapLog.java:269)
> 4882
> 	at org.apache.zookeeper.server.ZKDatabase.fastForwardDataBase(ZKDatabase.java:251)
> 4883
> 	at org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:583)
> 4884
> 	at org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:546)
> 4885
> 	at org.apache.zookeeper.server.NIOServerCnxnFactory.shutdown(NIOServerCnxnFactory.java:
> {noformat}
> {noformat}
> [INFO] Running org.apache.drill.exec.coord.zk.TestEphemeralStore
> 5278
> java.lang.NullPointerException
> 5279
> 	at org.apache.zookeeper.server.persistence.FileTxnSnapLog.fastForwardFromEdits(FileTxnSnapLog.java:269)
> 5280
> 	at org.apache.zookeepe
> {noformat}
> {noformat}
> [INFO] Running org.apache.drill.yarn.zk.TestAmRegistration
> 6767
> java.lang.NullPointerException
> 6768
> 	at org.apache.zookeeper.server.persistence.FileTxnSnapLog.fastForwardFromEdits(FileTxnSnapLog.java:269)
> 6769
> 	at org.apache.zookeeper.server.ZKDatabase.fastForwardDataBase(ZKDatabase.java:251)
> 6770
> 	at org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:583)
> 6771
> 	at org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:546)
> 6772
> 	at org.apache.zookeeper.server.NIOServerCnxnFactory.shutdown(NIOServerCnxnFactory.java:929)
> 6773
> 	at org.apache.curator.t
> {noformat}
> {noformat}
> org.apache.drill.yarn.client.TestCommandLineOptions
> 6823
> java.lang.NullPointerException
> 6824
> 	at org.apache.zookeeper.server.persistence.FileTxnSnapLog.fastForwardFromEdits(FileTxnSnapLog.java:269)
> 6825
> 	at org.apache.zookeeper.server.ZKDatabase.fastForwardDataBase(ZKDatabase.java:251)
> 6826
> 	at org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:583)
> 6827
> 	at org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:546)
> 6828
> 	at org.apac
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)