org.xbill.dns

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

org.xbill.dns

Scott Lewis-2
Hi Markus,

According to this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=515241 it seems that the
org.xbill.dns Orbit bundle...upon which our dnssd implementation
depends...imports classes from the sun.* namespace.   Unfortunately,
with Java 9 this breaks.

What do you recommend we do about this?  I think we need to do something
about it prior to Oxygen (with final scheduled maintenance release for
ECF at beginning of May), as Java 9 support is intended.

Thanks,

Scott


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DNS-SD discovery provider - org.xbill.dns dependency

Markus Alexander Kuppe-3
On 14.04.2017 16:44, Scott Lewis wrote:
> According to this bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=515241 it seems that the
> org.xbill.dns Orbit bundle...upon which our dnssd implementation
> depends...imports classes from the sun.* namespace.   Unfortunately,
> with Java 9 this breaks.
>
> What do you recommend we do about this?  I think we need to do something
> about it prior to Oxygen (with final scheduled maintenance release for
> ECF at beginning of May), as Java 9 support is intended.

Hi Scott,

given my own commitments, I'm afraid this is one where the community has
to step in. Otherwise, we will probably have to remove dns-sd from the
ECF distribution if Java 9 compatibility is a hard requirement (although
I don't understand why we would want to effectively break < Java 9
consumers). First somebody needs to find out though, if dns-sd triggers
the affected codepaths. We might just be lucky.

Iff dns-sd indeed triggers the codepaths, the two biggest challenges I
see are:

- Getting upstream (dnsjava project) to add Java 9 compatibility.
- Get the new upstream version CQ'ed in time.

Cheers
Markus

_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: DNS-SD discovery provider - org.xbill.dns dependency

Scott Lewis-2
On 4/14/2017 3:05 PM, Markus Alexander Kuppe wrote:
> Hi Scott,
>
> given my own commitments, I'm afraid this is one where the community has
> to step in. Otherwise, we will probably have to remove dns-sd from the
> ECF distribution if Java 9 compatibility is a hard requirement (although
> I don't understand why we would want to effectively break < Java 9
> consumers).

I don't think it is/can be, but I'll check it out.

> First somebody needs to find out though, if dns-sd triggers
> the affected codepaths. We might just be lucky.

Any suggestions about how to do/try that?

>
> Iff dns-sd indeed triggers the codepaths, the two biggest challenges I
> see are:
>
> - Getting upstream (dnsjava project) to add Java 9 compatibility.
> - Get the new upstream version CQ'ed in time.

I've sent an email to Brian Wellington.   First we will see what he
says.  The references to the sun.net seems perhaps to be only one
interface, and so maybe this won't be a huge/insurmountable change.

Scott


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.xbill.dns

Cristiano Gavião
In reply to this post by Scott Lewis-2
Hi Scott,

where can I find the code based on dnssd ?

thanks,

Cristiano


On 14/04/2017 11:44, Scott Lewis wrote:

> Hi Markus,
>
> According to this bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=515241 it seems that the
> org.xbill.dns Orbit bundle...upon which our dnssd implementation
> depends...imports classes from the sun.* namespace.   Unfortunately,
> with Java 9 this breaks.
>
> What do you recommend we do about this?  I think we need to do
> something about it prior to Oxygen (with final scheduled maintenance
> release for ECF at beginning of May), as Java 9 support is intended.
>
> Thanks,
>
> Scott
>
>
> _______________________________________________
> ecf-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ecf-dev

_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.xbill.dns

Cristiano Gavião
Ok, I found it : org.eclipse.ecf.provider.dnssd

I would like to know more. There are any example, tutorial or wiki about
it ?

Btw, I was not able to find it on maven central as others bundles from
ECF. it was not published ?



On 06/06/2017 22:09, Cristiano Gavião wrote:

> Hi Scott,
>
> where can I find the code based on dnssd ?
>
> thanks,
>
> Cristiano
>
>
> On 14/04/2017 11:44, Scott Lewis wrote:
>> Hi Markus,
>>
>> According to this bug:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=515241 it seems that
>> the org.xbill.dns Orbit bundle...upon which our dnssd implementation
>> depends...imports classes from the sun.* namespace.   Unfortunately,
>> with Java 9 this breaks.
>>
>> What do you recommend we do about this?  I think we need to do
>> something about it prior to Oxygen (with final scheduled maintenance
>> release for ECF at beginning of May), as Java 9 support is intended.
>>
>> Thanks,
>>
>> Scott
>>
>>
>> _______________________________________________
>> ecf-dev mailing list
>> [hidden email]
>> To change your delivery options, retrieve your password, or
>> unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/ecf-dev
>

_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.xbill.dns

Scott Lewis-2
Hi Cristiano,

On 6/6/2017 7:31 PM, Cristiano Gavião wrote:
> Ok, I found it : org.eclipse.ecf.provider.dnssd
>
> I would like to know more. There are any example, tutorial or wiki
> about it ?

Unfortunately I don't think so.   Markus Kuppe was/is the original
author of the dnssd provider and he would know more about tutorials or
other examples.  There is test code here:

http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/tests/bundles/org.eclipse.ecf.tests.provider.dnssd

I can tell you that the dnssd provider implements the ECF discovery API
(org.eclipse.ecf.discovery), and so should work with remote services
discovery...and any other apps that use the use the ecf.discovery API.

>
> Btw, I was not able to find it on maven central as others bundles from
> ECF. it was not published ?

No, not for this release.   Markus is not currently available to
support, it is getting some bit rot from using org.xbill.dns to
implement the protocol, and as you've discovered there's not much
example/docs about using it...so it's even harder to support under those
conditions.

The bundles are available via the p2 repo for latest ECF:
http://download.eclipse.org/rt/ecf/latest/site.p2  and the provider
consists of the two bundles:  org.eclipse.ecf.provider.dnssd and
org.xbill.dns.

If you and/or others are willing to update it and/or help document and
support it, I would be most willing to add it to the maven central set
for future ECF release.

Thanks,

Scott


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.xbill.dns

Markus Alexander Kuppe-3
In reply to this post by Cristiano Gavião
On 07.06.2017 04:31, Cristiano Gavião wrote:
> Ok, I found it : org.eclipse.ecf.provider.dnssd
>
> I would like to know more. There are any example, tutorial or wiki about
> it ?
>
> Btw, I was not able to find it on maven central as others bundles from
> ECF. it was not published ?

Hi Cristiano,

what are you trying to do? If you precisely describe your use case, I
can probably tell you if DNSSD is a fit.

Cheers
Markus
_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.xbill.dns

Cristiano Gavião
Hi Markus,

What I'm looking for is alternatives for a world wide service discovery
(without much or any configuration), in order to detect multiples OSGi
nodes that will be installed on different networks.

I'm investigating some options, one of them is dnssd which a friend have
pointed me (http://www.dns-sd.org). I found that you played wit it and
ECF some years ago...

It would be great to hear about your experiments... ;)

regards,

Cristiano


On 07/06/2017 08:06, Markus Alexander Kuppe wrote:

> On 07.06.2017 04:31, Cristiano Gavião wrote:
>> Ok, I found it : org.eclipse.ecf.provider.dnssd
>>
>> I would like to know more. There are any example, tutorial or wiki about
>> it ?
>>
>> Btw, I was not able to find it on maven central as others bundles from
>> ECF. it was not published ?
> Hi Cristiano,
>
> what are you trying to do? If you precisely describe your use case, I
> can probably tell you if DNSSD is a fit.
>
> Cheers
> Markus
> _______________________________________________
> ecf-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ecf-dev

_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.xbill.dns

Markus Alexander Kuppe-3
On 07.06.2017 18:16, Cristiano Gavião wrote:
> What I'm looking for is alternatives for a world wide service discovery
> (without much or any configuration), in order to detect multiples OSGi
> nodes that will be installed on different networks.
>
> I'm investigating some options, one of them is dnssd which a friend have
> pointed me (http://www.dns-sd.org). I found that you played wit it and
> ECF some years ago...
>
> It would be great to hear about your experiments... ;)

Hi Cristiano,

how frequent do your service endpoints change? Due to its excessive
caching, DNS is not a good fit if your endpoints change permanently. On
the other hand, if your services are fairly stable and you need almost
linear scalability, then DNS is perfect.

Obviously, DNS is passive. It does not push changes to the service
consumers, which e.g. the Zookeeper ECF discovery provider does.

M.

PS: Note, that the current org.xbill.dns bundle apparently has problems
with Java9. But with Java9 being pretty much in flux, it's possible that
the issues will have disappeared in the final Java9 release.
_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Loading...