- 博客(97)
- 资源 (12)
- 收藏
- 关注
原创 FlinkSQL行级权限解决方案及源码
FlinkSQL的行级权限解决方案及源码,支持面向用户级别的行级数据访问控制,即特定用户只能访问授权过的行,隐藏未授权的行数据。此方案是实时领域Flink的解决方案,类似离线数仓Hive中Ranger Row-level Filter方案。
2023-02-21 17:58:45 791 2
原创 Autogen4j: the Java version of Microsoft AutoGen
Java version of Microsoft AutoGen, Enable Next-Gen Large Language Model Applications
2023-12-22 21:57:50 1403
原创 OpenAI Function Call Java Example
First, generates a ChatParameter instance that represents the given class. Then, invoke the OpenAI API and return the function name and parameters. Finally, execute functions through the FunctionExecutor.
2023-11-30 20:47:50 511
原创 LangChain Java - a framework for developing applications with LLMs
This is the Java language implementation of LangChain, which is a framework for developing applications powered by language models.
2023-06-14 09:56:48 2315
原创 FlinkSQL: Create function using jar-located in HDFS and use Hive UDF
FlinkSQL: Create function using jar-located in HDFS and use Hive UDF
2022-12-05 20:31:14 1309
原创 Flink-JDBC SQL Connector报错: java.lang.Integer cannot be cast to java.lang.Long
Flink-JDBC SQL Connector报错: java.lang.Integer cannot be cast to java.lang.Long
2022-11-22 20:49:12 2663
原创 Dubbo+Zookeeper ACL+ElasticJob
一. 问题背景当Zookeeper开启ACL后,Dubbo以及Elastic-Job需要如何配置来连接Zookeeper。Zookeeper ACL介绍参考文章:https://cloud.tencent.com/developer/article/1414462二. 组件版本zookeeper: 3.5.8 dubbo: 2.6.6 elastic-job: 1.0.6三. ZK设置ACL3.1 dubbodubbo默认是注册在/dubbo目录,下面以/dubbo目录为例说.
2020-11-23 20:42:46 1113
原创 CDH5.12.0-HiveServer2-java.net.SocketTimeoutException: Read timed out
基于CDH构建离线数仓,在通过JDBC向HiveServer2提交作业时出现java.net.SocketTimeoutException: Read timed out 错误,导致大批量的作业失败,不能按时产生数据,已严重影响到业务运行。
2018-12-14 21:03:45 16786 1
原创 git用新分支替换掉master分支
背景因业务变化及系统升级,导致新分支远低于远程的master分支,而且老的master也不需要,需要用新的分支替换掉master分支。下文是把当前分支 saas_1.0.0 替换为master的步骤,仅供参考。操作步骤git上打dag,备份master分支 git的setting页面,把默认分支暂时替换为其他分支,如dev. git的setting->Protected Branches 把
2017-10-10 15:39:55 16902 2
原创 Hadoop Yarn(二)—— 创建Eclipse工程
1. 安装环境介绍如下: 系统:Ubuntu14.04 Hadoop版本:hadoop-2.5.0(点击下载) Java版本:openjdk-1.7.0_55 Eclipse版本:Release 4.4.0 (点击下载)
2014-10-30 20:24:51 4424 1
原创 LeetCode-String to Integer (atoi)
题目:https://oj.leetcode.com/problems/string-to-integer-atoi/Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please d
2014-09-10 17:56:15 1703
原创 LeetCode-Word Break II
题目:https://oj.leetcode.com/problems/word-break-ii/Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictionary word.Return a
2014-09-10 11:37:16 1210
原创 LeetCode-Word Break
题目:https://oj.leetcode.com/problems/word-break/Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.
2014-09-09 21:30:11 1650 3
原创 LeetCode-Binary Tree Postorder Traversal
题目:https://oj.leetcode.com/problems/binary-tree-postorder-traversal/Given a binary tree, return the postorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3},
2014-09-07 21:55:03 1083
原创 LeetCode-Binary Tree Preorder Traversal
题目:https://oj.leetcode.com/problems/binary-tree-preorder-traversal/Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1
2014-09-07 21:00:36 1065
原创 LeetCode-Remove Duplicates from Sorted List II
题目:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the origina
2014-09-07 20:39:52 1264
原创 LeetCode-Remove Duplicates from Sorted List
题目:https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list/Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2,
2014-09-07 19:48:28 901
原创 LeetCode-Balanced Binary Tree
题目:https://oj.leetcode.com/problems/balanced-binary-tree/Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree i
2014-09-07 19:41:25 1058
原创 LeetCode-Binary Tree Level Order Traversal
题目:https://oj.leetcode.com/problems/binary-tree-level-order-traversal/Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For
2014-09-07 19:26:05 998
原创 LeetCode-Binary Tree Inorder Traversal
题目:https://oj.leetcode.com/problems/binary-tree-inorder-traversal/Given a binary tree, return the inorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1
2014-09-07 17:05:51 2041
原创 LeetCode-Combination Sum II
题目:https://oj.leetcode.com/problems/combination-sum-ii/Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums t
2014-09-07 16:35:19 1306
原创 LeetCode-Combination Sum
题目:https://oj.leetcode.com/problems/combination-sum/Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Th
2014-09-07 16:29:55 1007
原创 LeetCode-Interleaving String
题目:https://oj.leetcode.com/problems/interleaving-string/Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.For example,Given:s1 = "aabcc",s2 = "dbbca",Whe
2014-09-07 14:36:13 1174
原创 LeetCode-Maximum Depth of Binary Tree
题目:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
2014-09-07 13:40:33 613
原创 LeetCode-Path Sum II
题目:https://oj.leetcode.com/problems/path-sum-ii/Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree
2014-09-07 13:27:57 2061
原创 LeetCode-Sort Colors
题目:https://oj.leetcode.com/problems/sort-colors/Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order r
2014-09-07 13:02:42 841
原创 LeetCode-Distinct Subsequences
题目:https://oj.leetcode.com/problems/distinct-subsequences/Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which
2014-09-07 11:21:27 813
原创 LeetCode-Swap Nodes in Pairs
题目:https://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2->3->4, you should return the list as 2
2014-09-07 10:34:41 989
原创 LeetCode-Sqrt(x)
题目:https://oj.leetcode.com/problems/sqrtx/Implement int sqrt(int x).Compute and return the square root of x.分析:erfenchazhao
2014-09-06 21:28:55 707
原创 LeetCode-Decode Ways
题目:https://oj.leetcode.com/problems/decode-ways/A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given an enc
2014-09-06 21:08:22 990
原创 LeetCode-Minimum Path Sum
题目:https://oj.leetcode.com/problems/minimum-path-sum/Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along i
2014-09-06 17:01:30 656 1
原创 LeetCode-Maximum Subarray
题目:https://oj.leetcode.com/problems/maximum-subarray/
2014-09-06 16:19:45 587
原创 LeetCode-Edit Distance
题目:https://oj.leetcode.com/problems/edit-distance/Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
2014-09-06 16:16:12 842
原创 LeetCode-Valid Parentheses
题目:https://oj.leetcode.com/problems/valid-parentheses/
2014-09-06 14:31:16 619
原创 LeetCode-Combinations
题目:https://oj.leetcode.com/problems/combinations/Given two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[
2014-09-06 13:58:16 854
原创 LeetCode-Sum Root to Leaf Numbers
题目:https://oj.leetcode.com/problems/sum-root-to-leaf-numbers/
2014-09-06 13:23:46 848
原创 LeetCode-First Missing Positive
题目:https://oj.leetcode.com/problems/first-missing-positive/Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] retu
2014-09-06 11:44:08 677
Hive和Hase配置
2013-07-01
Hama 安装笔记
2013-07-01
Hama-0.6.0
2013-07-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人