You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/12/07 03:59:00 UTC

[jira] [Commented] (ASTERIXDB-2972) UDF deployment always tries to fetch from host containing CC

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

ASF subversion and git services commented on ASTERIXDB-2972:
------------------------------------------------------------

Commit e43ac7185e4cda19db6b7a22fed7d594e6ee0354 in asterixdb's branch refs/heads/master from Ian Maxon
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=e43ac71 ]

[ASTERIXDB-2972][RT] Properly set UDF distribution host

    - user model changes: no
    - storage format changes: no
    - interface changes: no

    Details:

    - Set the download host for UDF distribution to be
      the node that recieved the UDF
    - Fix incorrect message response class for error
      conditions during UDF deployment

Change-Id: I7de293d236909da67c98306250d4bda5e65f7110
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/13587
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Dmitry Lychagin <dm...@couchbase.com>


> UDF deployment always tries to fetch from host containing CC
> ------------------------------------------------------------
>
>                 Key: ASTERIXDB-2972
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2972
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: API - HTTP API, FUN - Functions, RT - Runtime
>    Affects Versions: 0.9.7
>            Reporter: Ian Maxon
>            Assignee: Ian Maxon
>            Priority: Major
>             Fix For: 0.9.8
>
>
> For LibraryDeployPrepareOperatorDescriptor, the servlet sets the URI at which the new library should be fetched. Currently this is always set to the address of the hyracks connection- which is always the CC. This is incorrect when a user uploads a UDF from an NC as the library will be available first there, and all other nodes should fetch it from that NC first. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)