[GH] (incubator-fury): Workflow run "Fury CI" failed!
The GitHub Actions job "Fury CI" on incubator-fury.git has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: b573ac651413520b5153d12380d227cef1b911a9 / Shawn Yang fix(java): replace implements by extends (#1368) Closes #1367 Report URL: https://github.com/apache/incubator-fury/actions/runs/7859970392 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
(incubator-fury-site) branch deploy updated: deploy: 653f6b7103ad81da82580544da1b4655c68ac001
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch deploy in repository https://gitbox.apache.org/repos/asf/incubator-fury-site.git The following commit(s) were added to refs/heads/deploy by this push: new 9fca232 deploy: 653f6b7103ad81da82580544da1b4655c68ac001 9fca232 is described below commit 9fca2326839ce33842eabbf3d706e1c1334a8147 Author: chaokunyang AuthorDate: Sun Feb 11 05:35:54 2024 + deploy: 653f6b7103ad81da82580544da1b4655c68ac001 --- 404.html | 4 ++-- assets/js/d7586143.9b7bab59.js | 1 + assets/js/d7586143.dde466c2.js | 1 - assets/js/{main.d291084e.js => main.d5efd13f.js} | 4 ++-- d291084e.js.LICENSE.txt => main.d5efd13f.js.LICENSE.txt} | 0 .../{runtime~main.35169790.js => runtime~main.f5637441.js} | 2 +- blog/archive/index.html | 4 ++-- blog/fury_0_1_0_release/index.html | 4 ++-- blog/fury_0_1_1_release/index.html | 4 ++-- blog/fury_0_1_2_release/index.html | 4 ++-- blog/fury_0_2_0_release/index.html | 4 ++-- blog/fury_0_2_1_release/index.html | 4 ++-- blog/fury_0_3_0_release/index.html | 4 ++-- blog/fury_0_3_1_release/index.html | 4 ++-- blog/fury_0_4_0_release/index.html | 4 ++-- blog/fury_0_4_1_release/index.html | 4 ++-- .../index.html | 4 ++-- blog/index.html | 4 ++-- blog/tags/fury/index.html| 4 ++-- blog/tags/index.html | 4 ++-- docs/guide/development/index.html| 4 ++-- docs/guide/graalvm_guide/index.html | 4 ++-- docs/guide/java_object_graph_guide/index.html| 12 ++-- docs/guide/row_format_guide/index.html | 4 ++-- docs/guide/scala_guide/index.html| 4 ++-- docs/guide/xlang_object_graph_guide/index.html | 4 ++-- docs/introduction/benchmark/index.html | 4 ++-- docs/introduction/features/index.html| 4 ++-- docs/introduction/index.html | 4 ++-- docs/start/install/index.html| 4 ++-- docs/start/usage/index.html | 4 ++-- index.html | 4 ++-- lunr-index-1706585375228.json| 1 - lunr-index-1707629725015.json| 1 + lunr-index.json | 2 +- markdown-page/index.html | 4 ++-- search-doc-1706585375228.json| 1 - search-doc-1707629725015.json| 1 + search-doc.json | 2 +- 39 files changed, 68 insertions(+), 68 deletions(-) diff --git a/404.html b/404.html index 4c13188..0807d32 100644 --- a/404.html +++ b/404.html @@ -5,8 +5,8 @@ Page Not Found | Apache Fury (incubating)https://fury.apache.org/404.html";> - - + + !function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.se [...] diff --git a/assets/js/d7586143.9b7bab59.js b/assets/js/d7586143.9b7bab59.js new file mode 100644 index 000..4b9d1d9 --- /dev/null +++ b/assets/js/d7586143.9b7bab59.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkfury_site=self.webpackChunkfury_site||[]).push([[7072],{7738:(e,i,r)=>{r.r(i),r.d(i,{assets:()=>o,contentTitle:()=>t,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>d});var s=r(5893),n=r(1151);const a={title:"Java Object Graph Guide",sidebar_position:0,id:"java_object_graph_guide"},t="Java object graph serialization",l={id:"guide/java_object_graph_guide",title:"Java Object Graph Guide",description:"When only java object serialization needed, this mod [...] \ No newline at end of file diff --git a/assets/js/d7586143.dde466c2.js b/assets/js/d7586143.dde466c2.js deleted file mode 100644 index 2c5b86d..000 --- a/assets/js/d7586143.dde466c2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.web
(incubator-fury) branch main updated: fix(java): replace implements by extends (#1368)
This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-fury.git The following commit(s) were added to refs/heads/main by this push: new b573ac65 fix(java): replace implements by extends (#1368) b573ac65 is described below commit b573ac651413520b5153d12380d227cef1b911a9 Author: Shawn Yang AuthorDate: Sun Feb 11 13:34:41 2024 +0800 fix(java): replace implements by extends (#1368) Closes #1367 --- docs/guide/java_object_graph_guide.md | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/guide/java_object_graph_guide.md b/docs/guide/java_object_graph_guide.md index 5dc359d4..76c889c8 100644 --- a/docs/guide/java_object_graph_guide.md +++ b/docs/guide/java_object_graph_guide.md @@ -27,10 +27,10 @@ import org.apache.fury.config.*; public class Example { public static void main(String[] args) { SomeClass object = new SomeClass(); -// Note that Fury instances should be reused between +// Note that Fury instances should be reused between // multiple serializations of different objects. Fury fury = Fury.builder().withLanguage(Language.JAVA) - // Allow to deserialize objects unknown types, more flexible + // Allow to deserialize objects unknown types, more flexible // but may be insecure if the classes contains malicious code. .requireClassRegistration(true) .build(); @@ -55,7 +55,7 @@ import org.apache.fury.config.*; public class Example { public static void main(String[] args) { SomeClass object = new SomeClass(); -// Note that Fury instances should be reused between +// Note that Fury instances should be reused between // multiple serializations of different objects. ThreadSafeFury fury = new ThreadLocalFury(classLoader -> { Fury f = Fury.builder().withLanguage(Language.JAVA) @@ -81,7 +81,7 @@ import org.apache.fury.config.*; public class Example { // reuse fury. private static final ThreadSafeFury fury = Fury.builder() -// Allow to deserialize objects unknown types, more flexible +// Allow to deserialize objects unknown types, more flexible // but may be insecure if the classes contains malicious code. .requireClassRegistration(true) .buildThreadSafeFury(); @@ -165,7 +165,7 @@ ThreadSafeFury fury=Fury.builder() `FuryBuilder#withIntCompressed`/`FuryBuilder#withLongCompressed` can be used to compress int/long for smaller size. Normally compress int is enough. -Both compression are enabled by default, if the serialized is not important, for example, you use flatbuffers for +Both compression are enabled by default, if the serialized is not important, for example, you use flatbuffers for serialization before, which doesn't compress anything, then you should disable compression. If your data are all numbers, the compression may bring 80% performance regression. @@ -179,7 +179,7 @@ For long compression, fury support two encoding: - First bit in every byte indicate whether has next byte. if first bit is set, then next byte will be read util first bit of next byte is unset. - Negative number will be converted to positive number by ` (v << 1) ^ (v >> 63)` to reduce cost of small negative numbers. -If a number are `long` type, it can't be represented by smaller bytes mostly, the compression won't get good enough result, +If a number are `long` type, it can't be represented by smaller bytes mostly, the compression won't get good enough result, not worthy compared to performance cost. Maybe you should try to disable long compression if you find it didn't bring much space savings. @@ -196,11 +196,11 @@ class Foo { } } -class FooSerializer implements Serializer { +class FooSerializer extends Serializer { public FooSerializer(Fury fury) { super(fury, Foo.class); } - + @Override public void write(MemoryBuffer buffer, Foo value) { buffer.writeLong(value.f1); @@ -245,7 +245,7 @@ fury.register(SomeClass1.class, 200); ``` If you invoke `FuryBuilder#requireClassRegistration(false)` to disable class registration check, -you can set `org.apache.fury.resolver.ClassChecker` by `ClassResolver#setClassChecker` to control which classes are allowed +you can set `org.apache.fury.resolver.ClassChecker` by `ClassResolver#setClassChecker` to control which classes are allowed for serialization. For example,you can allow classes started with `org.example.*` by: ```java Fury fury = xxx; @@ -262,7 +262,7 @@ ThreadSafeFury fury = new ThreadLocalFury(classLoader -> { checker.allowClass("org.example.*"); ``` -Fury also provided a `org.apache.fury.resolver.AllowListChecker` which is white/blacklist based checker to simplify +Fury also provided a `org.apache.fury.resolver.AllowListChecker` which is white/blacklist based checker to simplify the customization
(incubator-fury-site) branch main updated: 🔄 synced local 'docs/guide/' with remote 'docs/guide/'
This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-fury-site.git The following commit(s) were added to refs/heads/main by this push: new 653f6b7 🔄 synced local 'docs/guide/' with remote 'docs/guide/' 653f6b7 is described below commit 653f6b7103ad81da82580544da1b4655c68ac001 Author: chaokunyang AuthorDate: Sun Feb 11 05:34:52 2024 + 🔄 synced local 'docs/guide/' with remote 'docs/guide/' --- docs/guide/java_object_graph_guide.md | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/guide/java_object_graph_guide.md b/docs/guide/java_object_graph_guide.md index 5dc359d..76c889c 100644 --- a/docs/guide/java_object_graph_guide.md +++ b/docs/guide/java_object_graph_guide.md @@ -27,10 +27,10 @@ import org.apache.fury.config.*; public class Example { public static void main(String[] args) { SomeClass object = new SomeClass(); -// Note that Fury instances should be reused between +// Note that Fury instances should be reused between // multiple serializations of different objects. Fury fury = Fury.builder().withLanguage(Language.JAVA) - // Allow to deserialize objects unknown types, more flexible + // Allow to deserialize objects unknown types, more flexible // but may be insecure if the classes contains malicious code. .requireClassRegistration(true) .build(); @@ -55,7 +55,7 @@ import org.apache.fury.config.*; public class Example { public static void main(String[] args) { SomeClass object = new SomeClass(); -// Note that Fury instances should be reused between +// Note that Fury instances should be reused between // multiple serializations of different objects. ThreadSafeFury fury = new ThreadLocalFury(classLoader -> { Fury f = Fury.builder().withLanguage(Language.JAVA) @@ -81,7 +81,7 @@ import org.apache.fury.config.*; public class Example { // reuse fury. private static final ThreadSafeFury fury = Fury.builder() -// Allow to deserialize objects unknown types, more flexible +// Allow to deserialize objects unknown types, more flexible // but may be insecure if the classes contains malicious code. .requireClassRegistration(true) .buildThreadSafeFury(); @@ -165,7 +165,7 @@ ThreadSafeFury fury=Fury.builder() `FuryBuilder#withIntCompressed`/`FuryBuilder#withLongCompressed` can be used to compress int/long for smaller size. Normally compress int is enough. -Both compression are enabled by default, if the serialized is not important, for example, you use flatbuffers for +Both compression are enabled by default, if the serialized is not important, for example, you use flatbuffers for serialization before, which doesn't compress anything, then you should disable compression. If your data are all numbers, the compression may bring 80% performance regression. @@ -179,7 +179,7 @@ For long compression, fury support two encoding: - First bit in every byte indicate whether has next byte. if first bit is set, then next byte will be read util first bit of next byte is unset. - Negative number will be converted to positive number by ` (v << 1) ^ (v >> 63)` to reduce cost of small negative numbers. -If a number are `long` type, it can't be represented by smaller bytes mostly, the compression won't get good enough result, +If a number are `long` type, it can't be represented by smaller bytes mostly, the compression won't get good enough result, not worthy compared to performance cost. Maybe you should try to disable long compression if you find it didn't bring much space savings. @@ -196,11 +196,11 @@ class Foo { } } -class FooSerializer implements Serializer { +class FooSerializer extends Serializer { public FooSerializer(Fury fury) { super(fury, Foo.class); } - + @Override public void write(MemoryBuffer buffer, Foo value) { buffer.writeLong(value.f1); @@ -245,7 +245,7 @@ fury.register(SomeClass1.class, 200); ``` If you invoke `FuryBuilder#requireClassRegistration(false)` to disable class registration check, -you can set `org.apache.fury.resolver.ClassChecker` by `ClassResolver#setClassChecker` to control which classes are allowed +you can set `org.apache.fury.resolver.ClassChecker` by `ClassResolver#setClassChecker` to control which classes are allowed for serialization. For example,you can allow classes started with `org.example.*` by: ```java Fury fury = xxx; @@ -262,7 +262,7 @@ ThreadSafeFury fury = new ThreadLocalFury(classLoader -> { checker.allowClass("org.example.*"); ``` -Fury also provided a `org.apache.fury.resolver.AllowListChecker` which is white/blacklist based checker to simplify +Fury also provided a `org.apache.fury.resolver.AllowListChecker` which is white/blacklist based checker to simplify the customization of cla
Re: [PR] fix(java): replace implements by extends [incubator-fury]
chaokunyang merged PR #1368: URL: https://github.com/apache/incubator-fury/pull/1368 -- 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. To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[GH] (incubator-fury): Workflow run "Fury CI" failed!
The GitHub Actions job "Fury CI" on incubator-fury.git has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: 3a011fff199d420ce24660ff97d994daed03bd1b / chaokunyang fix kryo register Report URL: https://github.com/apache/incubator-fury/actions/runs/7859931653 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[GH] (incubator-fury): Workflow run "Fury CI" failed!
The GitHub Actions job "Fury CI" on incubator-fury.git has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: b2b1fa32fb49addda773a5177d8bcca5f5bc9157 / chaokunyang fix kryo register Report URL: https://github.com/apache/incubator-fury/actions/runs/7859909056 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[GH] (incubator-fury): Workflow run "Fury CI" failed!
The GitHub Actions job "Fury CI" on incubator-fury.git has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: ea4a76d25bd626c90a3480ec1a27c845b2c555a6 / chaokunyang lint code Report URL: https://github.com/apache/incubator-fury/actions/runs/7859825077 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[GH] (incubator-fury): Workflow run "Fury CI" failed!
The GitHub Actions job "Fury CI" on incubator-fury.git has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: 27bcb03c4abd97176df10b2b3efb31607282cbff / chaokunyang upgrade kryo to 5.5 Report URL: https://github.com/apache/incubator-fury/actions/runs/7859820065 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[GH] (incubator-fury): Workflow run "Lint PR" is working again!
The GitHub Actions job "Lint PR" on incubator-fury.git has succeeded. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: ea4a76d25bd626c90a3480ec1a27c845b2c555a6 / chaokunyang lint code Report URL: https://github.com/apache/incubator-fury/actions/runs/7859831121 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[GH] (incubator-fury): Workflow run "Lint PR" failed!
The GitHub Actions job "Lint PR" on incubator-fury.git has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: ea4a76d25bd626c90a3480ec1a27c845b2c555a6 / chaokunyang lint code Report URL: https://github.com/apache/incubator-fury/actions/runs/7859824875 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[GH] (incubator-fury): Workflow run "Lint PR" failed!
The GitHub Actions job "Lint PR" on incubator-fury.git has failed. Run started by GitHub user chaokunyang (triggered by chaokunyang). Head commit for run: 27bcb03c4abd97176df10b2b3efb31607282cbff / chaokunyang upgrade kryo to 5.5 Report URL: https://github.com/apache/incubator-fury/actions/runs/7859820059 With regards, GitHub Actions via GitBox - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[PR] fix(java): replace implements by extends [incubator-fury]
chaokunyang opened a new pull request, #1368: URL: https://github.com/apache/incubator-fury/pull/1368 (no comment) -- 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. To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
Re: [I] [Java] Unable to find Serilizer.java interface as present in java graph guide [incubator-fury]
chaokunyang commented on issue #1367: URL: https://github.com/apache/incubator-fury/issues/1367#issuecomment-1936991063 Hi @aarvy-9 , thanks for reporting this issue. `org.apache.fury.serializer.Serializer` is an abstract class, this is an error in uour doc. Could you try `class FooSerializer extends Serializer`? -- 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. To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org
[I] Unable to find Serilizer.java interface as present in java graph guide [incubator-fury]
rahul-vempati opened a new issue, #1367: URL: https://github.com/apache/incubator-fury/issues/1367 ### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-fury/issues) and found no similar issues. ### Version Fury - 0.4.1 ### Component(s) Java ### Minimal reproduce step https://github.com/apache/incubator-fury/blob/ea9602f9425002d633569381c5dc7986706759bb/docs/guide/java_object_graph_guide.md#implement-a-customized-serializer ### What did you expect to see? Expect to implement customized serializer ### What did you see instead? Unable to find Serilizer interface as shown in https://github.com/apache/incubator-fury/blob/ea9602f9425002d633569381c5dc7986706759bb/docs/guide/java_object_graph_guide.md#implement-a-customized-serializer ### Anything Else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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. To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org For additional commands, e-mail: commits-h...@fury.apache.org