问:
Jasper list of lists contents. How to make frames borders with textFields to be stretched correctly on next page
I am using jasperreports 6.6.0. In the report i have a jsonqldatasource with list of lists and i need to print the values in a table structure. In detail band there are few "columns" of frames(with borders) that are printed correctly on one page. But when one of columns is stretched to the next page than only that column borders are stretched along with text. What i need is printing borders of all "columns" if one of them is stretched to the next page.
I will attach jrxml and some screenshots(https://imgur.com/a/SNa2Ckw) to better explain the question. I've highlighted missing borders with green colour on second image

```<detail>
    <band height="70" splitType="Stretch">
        <frame>
            <reportElement positionType="Float" x="38" y="10" width="505" height="60" uuid="41dea29f-7812-4ee4-a523-05ff19d28142">
                <property name="com.jaspersoft.studio.unit.x" value="px"/>
                <property name="com.jaspersoft.studio.unit.width" value="px"/>
            </reportElement>
            <frame>
                <reportElement positionType="Float" x="-3" y="30" width="499" height="31" uuid="eda5c6aa-fa84-4531-b8cb-8f3e6824be58">
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                </reportElement>
                <box leftPadding="0" bottomPadding="0" rightPadding="0"/>
                <frame>
                    <reportElement x="0" y="0" width="80" height="30" uuid="188be56c-2c0e-40bb-9c79-9d9767c06c95"/>
                    <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="3" y="0" width="77" height="30" uuid="6f72763f-f3ad-43ca-abac-bbeaf2d8f2e6">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{documentTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="80" y="0" width="60" height="30" uuid="90b690e7-b9c1-47a6-a55e-3d0f90eb9f80"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="4" y="0" width="56" height="30" uuid="eb3e7b8d-ef93-40ba-988a-f4f647441ae0">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{dateTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="140" y="0" width="134" height="30" uuid="c9d19eb6-a488-4fbe-b477-cd554f76d93d"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="3" y="0" width="131" height="30" uuid="17aef305-9bdb-4b90-8333-e100c125b0cd">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{corespondentTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="274" y="0" width="40" height="30" uuid="2154fc22-c2c0-49e4-b3d0-3f4328577e49"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="0" y="0" width="40" height="30" uuid="8f838cba-7ea2-49d8-a212-a27e7388049a">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{oborotDtTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="314" y="0" width="40" height="30" uuid="3b1b29ca-b0f9-49d8-b4ea-585682ffe1dd"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="0" y="0" width="40" height="30" uuid="649f0ba5-35f3-473d-9953-3cb6b5cf40c3">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{oborotKtTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="354" y="0" width="145" height="30" uuid="ea45a53d-5f82-46f0-b5b8-040a4b03dba4"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="3" y="0" width="135" height="30" uuid="92ce4c0a-af9b-4f73-bce2-bc3ade6843e3">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{purposeTitle}]]></textFieldExpression>
                    </textField>
                </frame>
            </frame>
        </frame>
    </band>
    <band height="120">
        <property name="com.jaspersoft.studio.layout"/>
        <printWhenExpression><![CDATA[$F{accountNumber}!=null]]></printWhenExpression>
        <frame>
            <reportElement positionType="Float" stretchType="ContainerHeight" mode="Transparent" x="35" y="0" width="499" height="100" isRemoveLineWhenBlank="true" uuid="7209f70f-f728-4e6c-a904-b8af7ec3c470">
                <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
                <property name="ShowOutOfBoundContent" value="true"/>
                <property name="com.jaspersoft.studio.unit.x" value="px"/>
                <property name="com.jaspersoft.studio.unit.width" value="px"/>
            </reportElement>
            <box>
                <pen lineWidth="1.0"/>
                <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
            </box>
            <componentElement>
                <reportElement stretchType="ContainerBottom" mode="Transparent" x="0" y="0" width="499" height="100" isRemoveLineWhenBlank="true" uuid="22033e7e-bcfa-4636-9ee9-0d5657a11fd7">
                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical" ignoreWidth="false">
                    <datasetRun subDataset="TransactionInfoDataset" uuid="09f940cf-bcc1-4997-af19-470c1e210390">
                        <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonQLDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("content.transactionsInfo")]]></dataSourceExpression>
                    </datasetRun>
                    <jr:listContents height="100" width="499">
                        <frame borderSplitType="DrawBorders">
                            <reportElement stretchType="ElementGroupHeight" x="0" y="60" width="499" height="40" uuid="dbbb9bb0-b7e8-4b7f-933b-bb424934432e"/>
                            <box>
                                <topPen lineStyle="Solid" lineColor="#000000"/>
                                <leftPen lineStyle="Solid" lineColor="#000000"/>
                                <bottomPen lineStyle="Solid" lineColor="#000000"/>
                                <rightPen lineStyle="Solid" lineColor="#000000"/>
                            </box>
                            <componentElement>
                                <reportElement stretchType="ElementGroupHeight" x="0" y="0" width="499" height="40" isRemoveLineWhenBlank="true" uuid="1a9c9a78-443f-4fb2-9e50-e4764b3bbd84">
                                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <jr:list printOrder="Vertical" ignoreWidth="true">
                                    <datasetRun subDataset="TransactionDataset" uuid="3af1a5b8-e298-4fd3-bc5a-856082e2fab8">
                                        <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonQLDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("transactions")]]></dataSourceExpression>
                                    </datasetRun>
                                    <jr:listContents height="40" width="499">
                                        <frame borderSplitType="DrawBorders">
                                            <reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="499" height="40" uuid="8230fd0b-2e3d-4dfc-b1af-338a150c995c">
                                                <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                            </reportElement>
                                            <box leftPadding="0" bottomPadding="0" rightPadding="0"/>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="0" y="0" width="80" height="40" uuid="44a98fd7-e9fb-4ad0-ab91-1061a4946c4c"/>
                                                <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="3" y="0" width="77" height="30" uuid="94aa871f-31eb-4e73-8bd3-b7bb81d00dd9">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{orderName} +" № " + $F{orderNumber} +" \nот " +$F{orderDate}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="80" y="0" width="60" height="40" uuid="b2e673ca-a3ee-476c-9f5f-619bad0c38f0"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="2" y="0" width="58" height="30" uuid="72bef5d8-674b-46fb-994b-3057a1988a7e">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{orderDate}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="140" y="0" width="134" height="40" uuid="7bcaf153-ec36-47a5-adee-8c041a6ac2f6"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="3" y="0" width="129" height="30" uuid="62e0404d-7d0f-4f3f-b432-d2ee19f10de3">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{payeeOwner} + ",  счет № " + $F{payeeAccountNumber} + ",  " +$F{payeeBankName}+ ", БИК " + $F{payeeBic}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="274" y="0" width="40" height="40" uuid="bf3039f9-52f6-4624-929d-e8937ef0311b"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="40" height="30" uuid="dac65ed4-11a8-4ad1-8a61-3c6cc05c8226">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{debitAmount}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="314" y="0" width="40" height="40" uuid="1303ec83-077b-4b38-888b-e99de6e3f4b6"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="40" height="30" uuid="d2783913-bb9d-4d9a-87bb-08bb46dbc740">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{creditAmount}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="354" y="0" width="145" height="40" uuid="0abcb132-9c01-4f50-8e24-c804cf022938"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="4" y="0" width="136" height="30" isPrintWhenDetailOverflows="true" uuid="e2976bec-f09f-44ee-b4f6-2a34414d0a1e">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{purpose}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                        </frame>
                                    </jr:listContents>
                                </jr:list>
                            </componentElement>
                        </frame>
                        <frame borderSplitType="DrawBorders">
                            <reportElement x="0" y="0" width="499" height="60" uuid="a90a6869-35f1-4efd-83cf-acdc2f69ecf3"/>
                            <box>
                                <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                            </box>
                            <frame>
                                <reportElement x="0" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="1f8ccece-16e7-4059-bb08-82f27a51d038">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="a18919eb-db17-4cfa-9e26-5588c74405a7">
                                        <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="100" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="aa836dd4-0a46-4ddf-aa11-a0fbb2250cc4">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="3300f017-3d51-430e-a687-d70406080c76">
                                        <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Top">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Вх.\nостаток\n\n" + $F{incomingBalance}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="200" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="58db761a-82fb-48d1-bff2-9d23776dbaff">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="dffa0a44-0367-4083-99b3-4f613fd9d59f">
                                        <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Оборот\nДт\n\n" + $F{debit}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="300" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="a0000b92-5dc9-415a-9872-0742b4e1767c">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="87d6d309-dd99-4b4a-98ce-ae830040f25e">

                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Оборот\nКт\n\n" + $F{credit}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="400" y="0" width="99" height="60" isRemoveLineWhenBlank="true" uuid="ed2ef71e-09d8-4735-8bf9-fe1776cdf87a">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="99" height="60" uuid="54efcd3e-1ea4-48e9-91f5-648055807cab">
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Исх.\nостаток\n\n" + $F{outgoingBalance}]]></textFieldExpression>
                                </textField>
                            </frame>
                        </frame>
                    </jr:listContents>
                </jr:list>
            </componentElement>
        </frame>
    </band>
</detail>
```

Body:
I am using jasperreports 6.6.0. In the report i have a jsonqldatasource with list of lists and i need to print the values in a table structure. In detail band there are few "columns" of frames(with borders) that are printed correctly on one page. But when one of columns is stretched to the next page than only that column borders are stretched along with text. What i need is printing borders of all "columns" if one of them is stretched to the next page.
I will attach jrxml and some screenshots(https://imgur.com/a/SNa2Ckw) to better explain the question. I've highlighted missing borders with green colour on second image

<detail>
    <band height="70" splitType="Stretch">
        <frame>
            <reportElement positionType="Float" x="38" y="10" width="505" height="60" uuid="41dea29f-7812-4ee4-a523-05ff19d28142">
                <property name="com.jaspersoft.studio.unit.x" value="px"/>
                <property name="com.jaspersoft.studio.unit.width" value="px"/>
            </reportElement>
            <frame>
                <reportElement positionType="Float" x="-3" y="30" width="499" height="31" uuid="eda5c6aa-fa84-4531-b8cb-8f3e6824be58">
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                </reportElement>
                <box leftPadding="0" bottomPadding="0" rightPadding="0"/>
                <frame>
                    <reportElement x="0" y="0" width="80" height="30" uuid="188be56c-2c0e-40bb-9c79-9d9767c06c95"/>
                    <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="3" y="0" width="77" height="30" uuid="6f72763f-f3ad-43ca-abac-bbeaf2d8f2e6">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{documentTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="80" y="0" width="60" height="30" uuid="90b690e7-b9c1-47a6-a55e-3d0f90eb9f80"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="4" y="0" width="56" height="30" uuid="eb3e7b8d-ef93-40ba-988a-f4f647441ae0">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{dateTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="140" y="0" width="134" height="30" uuid="c9d19eb6-a488-4fbe-b477-cd554f76d93d"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="3" y="0" width="131" height="30" uuid="17aef305-9bdb-4b90-8333-e100c125b0cd">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{corespondentTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="274" y="0" width="40" height="30" uuid="2154fc22-c2c0-49e4-b3d0-3f4328577e49"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="0" y="0" width="40" height="30" uuid="8f838cba-7ea2-49d8-a212-a27e7388049a">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{oborotDtTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="314" y="0" width="40" height="30" uuid="3b1b29ca-b0f9-49d8-b4ea-585682ffe1dd"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="0" y="0" width="40" height="30" uuid="649f0ba5-35f3-473d-9953-3cb6b5cf40c3">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{oborotKtTitle}]]></textFieldExpression>
                    </textField>
                </frame>
                <frame>
                    <reportElement x="354" y="0" width="145" height="30" uuid="ea45a53d-5f82-46f0-b5b8-040a4b03dba4"/>
                    <box>
                        <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                        <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                    </box>
                    <textField>
                        <reportElement positionType="Float" x="3" y="0" width="135" height="30" uuid="92ce4c0a-af9b-4f73-bce2-bc3ade6843e3">
                            <property name="com.jaspersoft.studio.unit.width" value="px"/>
                        </reportElement>
                        <textElement textAlignment="Left" verticalAlignment="Middle">

                            <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                        </textElement>
                        <textFieldExpression><![CDATA[$P{purposeTitle}]]></textFieldExpression>
                    </textField>
                </frame>
            </frame>
        </frame>
    </band>
    <band height="120">
        <property name="com.jaspersoft.studio.layout"/>
        <printWhenExpression><![CDATA[$F{accountNumber}!=null]]></printWhenExpression>
        <frame>
            <reportElement positionType="Float" stretchType="ContainerHeight" mode="Transparent" x="35" y="0" width="499" height="100" isRemoveLineWhenBlank="true" uuid="7209f70f-f728-4e6c-a904-b8af7ec3c470">
                <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
                <property name="ShowOutOfBoundContent" value="true"/>
                <property name="com.jaspersoft.studio.unit.x" value="px"/>
                <property name="com.jaspersoft.studio.unit.width" value="px"/>
            </reportElement>
            <box>
                <pen lineWidth="1.0"/>
                <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
            </box>
            <componentElement>
                <reportElement stretchType="ContainerBottom" mode="Transparent" x="0" y="0" width="499" height="100" isRemoveLineWhenBlank="true" uuid="22033e7e-bcfa-4636-9ee9-0d5657a11fd7">
                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                </reportElement>
                <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical" ignoreWidth="false">
                    <datasetRun subDataset="TransactionInfoDataset" uuid="09f940cf-bcc1-4997-af19-470c1e210390">
                        <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonQLDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("content.transactionsInfo")]]></dataSourceExpression>
                    </datasetRun>
                    <jr:listContents height="100" width="499">
                        <frame borderSplitType="DrawBorders">
                            <reportElement stretchType="ElementGroupHeight" x="0" y="60" width="499" height="40" uuid="dbbb9bb0-b7e8-4b7f-933b-bb424934432e"/>
                            <box>
                                <topPen lineStyle="Solid" lineColor="#000000"/>
                                <leftPen lineStyle="Solid" lineColor="#000000"/>
                                <bottomPen lineStyle="Solid" lineColor="#000000"/>
                                <rightPen lineStyle="Solid" lineColor="#000000"/>
                            </box>
                            <componentElement>
                                <reportElement stretchType="ElementGroupHeight" x="0" y="0" width="499" height="40" isRemoveLineWhenBlank="true" uuid="1a9c9a78-443f-4fb2-9e50-e4764b3bbd84">
                                    <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                    <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <jr:list printOrder="Vertical" ignoreWidth="true">
                                    <datasetRun subDataset="TransactionDataset" uuid="3af1a5b8-e298-4fd3-bc5a-856082e2fab8">
                                        <dataSourceExpression><![CDATA[((net.sf.jasperreports.engine.data.JsonQLDataSource)$P{REPORT_DATA_SOURCE}).subDataSource("transactions")]]></dataSourceExpression>
                                    </datasetRun>
                                    <jr:listContents height="40" width="499">
                                        <frame borderSplitType="DrawBorders">
                                            <reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="499" height="40" uuid="8230fd0b-2e3d-4dfc-b1af-338a150c995c">
                                                <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                            </reportElement>
                                            <box leftPadding="0" bottomPadding="0" rightPadding="0"/>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="0" y="0" width="80" height="40" uuid="44a98fd7-e9fb-4ad0-ab91-1061a4946c4c"/>
                                                <box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="3" y="0" width="77" height="30" uuid="94aa871f-31eb-4e73-8bd3-b7bb81d00dd9">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{orderName} +" № " + $F{orderNumber} +" \nот " +$F{orderDate}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="80" y="0" width="60" height="40" uuid="b2e673ca-a3ee-476c-9f5f-619bad0c38f0"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="2" y="0" width="58" height="30" uuid="72bef5d8-674b-46fb-994b-3057a1988a7e">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{orderDate}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="140" y="0" width="134" height="40" uuid="7bcaf153-ec36-47a5-adee-8c041a6ac2f6"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="3" y="0" width="129" height="30" uuid="62e0404d-7d0f-4f3f-b432-d2ee19f10de3">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{payeeOwner} + ",  счет № " + $F{payeeAccountNumber} + ",  " +$F{payeeBankName}+ ", БИК " + $F{payeeBic}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="274" y="0" width="40" height="40" uuid="bf3039f9-52f6-4624-929d-e8937ef0311b"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="40" height="30" uuid="dac65ed4-11a8-4ad1-8a61-3c6cc05c8226">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{debitAmount}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="314" y="0" width="40" height="40" uuid="1303ec83-077b-4b38-888b-e99de6e3f4b6"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="0" y="0" width="40" height="30" uuid="d2783913-bb9d-4d9a-87bb-08bb46dbc740">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{creditAmount}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                            <frame>
                                                <reportElement stretchType="ElementGroupHeight" x="354" y="0" width="145" height="40" uuid="0abcb132-9c01-4f50-8e24-c804cf022938"/>
                                                <box>
                                                    <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                    <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                                </box>
                                                <textField isStretchWithOverflow="true">
                                                    <reportElement positionType="Float" stretchType="ElementGroupHeight" x="4" y="0" width="136" height="30" isPrintWhenDetailOverflows="true" uuid="e2976bec-f09f-44ee-b4f6-2a34414d0a1e">
                                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                                    </reportElement>
                                                    <textElement textAlignment="Left" verticalAlignment="Middle">

                                                        <paragraph lineSpacing="Single" lineSpacingSize="1.1" firstLineIndent="0"/>
                                                    </textElement>
                                                    <textFieldExpression><![CDATA[$F{purpose}]]></textFieldExpression>
                                                </textField>
                                            </frame>
                                        </frame>
                                    </jr:listContents>
                                </jr:list>
                            </componentElement>
                        </frame>
                        <frame borderSplitType="DrawBorders">
                            <reportElement x="0" y="0" width="499" height="60" uuid="a90a6869-35f1-4efd-83cf-acdc2f69ecf3"/>
                            <box>
                                <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                                <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
                            </box>
                            <frame>
                                <reportElement x="0" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="1f8ccece-16e7-4059-bb08-82f27a51d038">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="pixel"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="a18919eb-db17-4cfa-9e26-5588c74405a7">
                                        <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="100" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="aa836dd4-0a46-4ddf-aa11-a0fbb2250cc4">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="3300f017-3d51-430e-a687-d70406080c76">
                                        <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Top">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Вх.\nостаток\n\n" + $F{incomingBalance}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="200" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="58db761a-82fb-48d1-bff2-9d23776dbaff">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="dffa0a44-0367-4083-99b3-4f613fd9d59f">
                                        <property name="com.jaspersoft.studio.unit.x" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.height" value="px"/>
                                        <property name="com.jaspersoft.studio.unit.spacingAfter" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.tabStopWidth" value="pixel"/>
                                        <property name="com.jaspersoft.studio.unit.width" value="px"/>
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Оборот\nДт\n\n" + $F{debit}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="300" y="0" width="100" height="60" isRemoveLineWhenBlank="true" uuid="a0000b92-5dc9-415a-9872-0742b4e1767c">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="100" height="60" uuid="87d6d309-dd99-4b4a-98ce-ae830040f25e">

                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Оборот\nКт\n\n" + $F{credit}]]></textFieldExpression>
                                </textField>
                            </frame>
                            <frame>
                                <reportElement x="400" y="0" width="99" height="60" isRemoveLineWhenBlank="true" uuid="ed2ef71e-09d8-4735-8bf9-fe1776cdf87a">
                                    <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.HorizontalRowLayout"/>
                                    <property name="com.jaspersoft.studio.unit.y" value="px"/>
                                </reportElement>
                                <box>
                                    <pen lineColor="#2318F0"/>
                                    <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textField>
                                    <reportElement key="" positionType="Float" x="0" y="0" width="99" height="60" uuid="54efcd3e-1ea4-48e9-91f5-648055807cab">
                                    </reportElement>
                                    <box>
                                        <pen lineColor="#38C241"/>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                    </box>
                                    <textElement textAlignment="Center" verticalAlignment="Middle">

                                        <paragraph lineSpacingSize="1.1" firstLineIndent="0"/>
                                    </textElement>
                                    <textFieldExpression><![CDATA["Исх.\nостаток\n\n" + $F{outgoingBalance}]]></textFieldExpression>
                                </textField>
                            </frame>
                        </frame>
                    </jr:listContents>
                </jr:list>
            </componentElement>
        </frame>
    </band>
</detail>


来源: stackexchange

问:
Spring boot with Hadoop Connection(Hbase)
I have requirement like ,i need to connect hadoop-hbase in my spring boot code.I have done many examples.But i unable to connect hadoop system.Can you please share working sampleproj hadoop with hbase project using spring boot.

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'feedService': Unsatisfied dependency expressed through field 'hbaseTemplate': Error creating bean with name 'hbaseTemplate' defined in class path resource [com/example/demo/HbaseConfig.class]: Failed to instantiate [org.springframework.data.hadoop.hbase.HbaseTemplate]: Factory method 'hbaseTemplate' threw exception with message: org/apache/hadoop/hbase/client/HTableInterface**

Thanks in Advance...

```<code>    <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-hadoop</artifactId>
            <version>2.5.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase</artifactId>
            <version>2.5.2</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase-client</artifactId>
            <version>2.5.2</version>
            <scope>compile</scope>
            <exclusions>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
]
</code>```

Hbase config class

public class HConnection {

```<code>private String hbasezookeeperquorum = "PRODDMSDN04";// ,proddmsdn02,proddmsdn01
private String hbasezookeeperpropertyclientPort = "2181";
private String hbasemaster = "proddmsdn01:16010";
private String zookeeperznodeparent = "/hbase-unsecure";

private String dmshbasetable="DMSMASTER";
private String dmshbasetableimgfamily="img";
private String  dmshbasetabledatafamily="data";
private String  dmshbasetablemetafamily="meta";
 static Configuration conf;

 static Connection connection;
 private String dmsid="1a2c3e0e-8363-4e94-87c9-701029933b37";
private Connection newConnection() {

     Connection conn = null;
        try {
            conf = HBaseConfiguration.create();
            conf.set("hbase.zookeeper.quorum", hbasezookeeperquorum);
            conf.set("hbase.zookeeper.property.clientPort", hbasezookeeperpropertyclientPort);
            conf.set("hbase.master", hbasemaster);
            conf.set("zookeeper.znode.parent", zookeeperznodeparent);
            conn = ConnectionFactory.createConnection(conf);
            System.out.println("conn" + conn.getConfiguration());
            // Instantiate configuration class
            // Instantiate configuration class

        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    return conn;

}

public static void main(String[] args) throws IOException, URISyntaxException, Exception {
    // TODO Auto-generated method stub
    //String fileName = "DMSMASTER";

    System.out.println("Connecting to Hadoop------->");

     connection=new HConnection().newConnection();

     FileSystem fileSystem = FileSystem.get(conf);

    if (fileSystem instanceof DistributedFileSystem) {
        System.out.println("HDFS is the underlying filesystem");
        HashMap<String, String> map = new HashMap<>();
        // Connection connection=new HConnection().afterPropertiesSet();

        //new HConnection().searchData(connection);

    } else {
        System.out.println("Other type of file system " + fileSystem.getClass());

        System.out.println("Filesystem connected------->");

}
ArrayList<Map<String, String>> list = new ArrayList<>();

public Optional<List<Map<String, String>>> searchMetaData(Map<String, String> searchParams)
        throws IOException {

    System.out.println("searchParams-------------->"+searchParams);

    TableName tablename = TableName.valueOf(dmshbasetable);
    Table table = connection.getTable(tablename);
    System.out.println("Connecting table-------------->"+table);
    Scan scan = new Scan();
    scan.addFamily(Bytes.toBytes(dmshbasetabledatafamily));
    scan.addFamily(Bytes.toBytes(dmshbasetablemetafamily));
    FilterList allFilters = new FilterList(new Filter[0]);
    for (Map.Entry<String, String> entry : searchParams.entrySet()) {
        SingleColumnValueFilter filter = new SingleColumnValueFilter(Bytes.toBytes(dmshbasetablemetafamily),
                Bytes.toBytes(entry.getKey()), CompareFilter.CompareOp.EQUAL, Bytes.toBytes(entry.getValue()));
        allFilters.addFilter((Filter) filter);
    }
    SingleColumnValueFilter filter2 = new SingleColumnValueFilter(Bytes.toBytes(dmshbasetabledatafamily),
            Bytes.toBytes("status"), CompareFilter.CompareOp.EQUAL, Bytes.toBytes("1"));
    allFilters.addFilter((Filter) filter2);
    scan.setFilter((Filter) allFilters);
    ResultScanner resultScanner = table.getScanner(scan);
    Iterator<Result> arr = resultScanner.iterator();
    list = new ArrayList<>();
    while (arr.hasNext()) {
        Get g = new Get(((Result) arr.next()).getRow());
        Result result = table.get(g);
        Map<String, String> map = new HashMap<>();
        NavigableMap<byte[], byte[]> data = result.getFamilyMap(Bytes.toBytes(dmshbasetabledatafamily));
        NavigableMap<byte[], byte[]> metadata = result.getFamilyMap(Bytes.toBytes(dmshbasetablemetafamily));
        data.putAll(metadata);
        for (Map.Entry<byte[], byte[]> entry : data.entrySet())
            map.put(new String(entry.getKey()), new String(entry.getValue()));
        list.add(map);

    }
    if (list.isEmpty())
        return Optional.empty();

    List<JSONObject> jsonObj = new ArrayList<JSONObject>();

    for(Map<String, String> data : list) {
        JSONObject obj = new JSONObject(data);
        jsonObj.add(obj);
    }

    JSONArray test = new JSONArray(jsonObj);

    System.out.println(test.toString());

    writeCSV(test.toString());

    return Optional.of(list);
}

private void writeCSV(String list) {
    // TODO Auto-generated method stub

     try (PrintWriter writer = new PrintWriter(new File("hadoopconnection_test.csv"))) {

          StringBuilder stringbuilder = new StringBuilder();

          stringbuilder.append("DMSid");

          stringbuilder.append(',');

          stringbuilder.append("Payload");

          stringbuilder.append('\n');

          stringbuilder.append(dmsid);

          stringbuilder.append(',');

          stringbuilder.append(list);

          stringbuilder.append('\n');

          writer.write(stringbuilder.toString());

        System.out.println("Data Imported to CSV successfully Done------->");

        } catch (FileNotFoundException exception) {

          System.out.println(exception.getMessage());

        }

}

}
</code>```

ContentLicense: CC BY-SA 4.0

Body:
I have requirement like ,i need to connect hadoop-hbase in my spring boot code.I have done many examples.But i unable to connect hadoop system.Can you please share working sampleproj hadoop with hbase project using spring boot.

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'feedService': Unsatisfied dependency expressed through field 'hbaseTemplate': Error creating bean with name 'hbaseTemplate' defined in class path resource [com/example/demo/HbaseConfig.class]: Failed to instantiate [org.springframework.data.hadoop.hbase.HbaseTemplate]: Factory method 'hbaseTemplate' threw exception with message: org/apache/hadoop/hbase/client/HTableInterface**

Thanks in Advance...

    <dependency>
            <groupId>org.springframework.data</groupId>
            <artifactId>spring-data-hadoop</artifactId>
            <version>2.5.0.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase</artifactId>
            <version>2.5.2</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>org.apache.hbase</groupId>
            <artifactId>hbase-client</artifactId>
            <version>2.5.2</version>
            <scope>compile</scope>
            <exclusions>
                <exclusion>
                    <groupId>log4j</groupId>
                    <artifactId>log4j</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>org.slf4j</groupId>
                    <artifactId>slf4j-log4j12</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
]

Hbase config class

public class HConnection {

private String hbasezookeeperquorum = "PRODDMSDN04";// ,proddmsdn02,proddmsdn01
private String hbasezookeeperpropertyclientPort = "2181";
private String hbasemaster = "proddmsdn01:16010";
private String zookeeperznodeparent = "/hbase-unsecure";

private String dmshbasetable="DMSMASTER";
private String dmshbasetableimgfamily="img";
private String  dmshbasetabledatafamily="data";
private String  dmshbasetablemetafamily="meta";
 static Configuration conf;

 static Connection connection;
 private String dmsid="1a2c3e0e-8363-4e94-87c9-701029933b37";
private Connection newConnection() {

     Connection conn = null;
        try {
            conf = HBaseConfiguration.create();
            conf.set("hbase.zookeeper.quorum", hbasezookeeperquorum);
            conf.set("hbase.zookeeper.property.clientPort", hbasezookeeperpropertyclientPort);
            conf.set("hbase.master", hbasemaster);
            conf.set("zookeeper.znode.parent", zookeeperznodeparent);
            conn = ConnectionFactory.createConnection(conf);
            System.out.println("conn" + conn.getConfiguration());
            // Instantiate configuration class
            // Instantiate configuration class

        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    return conn;

}

public static void main(String[] args) throws IOException, URISyntaxException, Exception {
    // TODO Auto-generated method stub
    //String fileName = "DMSMASTER";

    System.out.println("Connecting to Hadoop------->");

     connection=new HConnection().newConnection();

     FileSystem fileSystem = FileSystem.get(conf);

    if (fileSystem instanceof DistributedFileSystem) {
        System.out.println("HDFS is the underlying filesystem");
        HashMap<String, String> map = new HashMap<>();
        // Connection connection=new HConnection().afterPropertiesSet();

        //new HConnection().searchData(connection);

    } else {
        System.out.println("Other type of file system " + fileSystem.getClass());

        System.out.println("Filesystem connected------->");

}
ArrayList<Map<String, String>> list = new ArrayList<>();

public Optional<List<Map<String, String>>> searchMetaData(Map<String, String> searchParams)
        throws IOException {

    System.out.println("searchParams-------------->"+searchParams);

    TableName tablename = TableName.valueOf(dmshbasetable);
    Table table = connection.getTable(tablename);
    System.out.println("Connecting table-------------->"+table);
    Scan scan = new Scan();
    scan.addFamily(Bytes.toBytes(dmshbasetabledatafamily));
    scan.addFamily(Bytes.toBytes(dmshbasetablemetafamily));
    FilterList allFilters = new FilterList(new Filter[0]);
    for (Map.Entry<String, String> entry : searchParams.entrySet()) {
        SingleColumnValueFilter filter = new SingleColumnValueFilter(Bytes.toBytes(dmshbasetablemetafamily),
                Bytes.toBytes(entry.getKey()), CompareFilter.CompareOp.EQUAL, Bytes.toBytes(entry.getValue()));
        allFilters.addFilter((Filter) filter);
    }
    SingleColumnValueFilter filter2 = new SingleColumnValueFilter(Bytes.toBytes(dmshbasetabledatafamily),
            Bytes.toBytes("status"), CompareFilter.CompareOp.EQUAL, Bytes.toBytes("1"));
    allFilters.addFilter((Filter) filter2);
    scan.setFilter((Filter) allFilters);
    ResultScanner resultScanner = table.getScanner(scan);
    Iterator<Result> arr = resultScanner.iterator();
    list = new ArrayList<>();
    while (arr.hasNext()) {
        Get g = new Get(((Result) arr.next()).getRow());
        Result result = table.get(g);
        Map<String, String> map = new HashMap<>();
        NavigableMap<byte[], byte[]> data = result.getFamilyMap(Bytes.toBytes(dmshbasetabledatafamily));
        NavigableMap<byte[], byte[]> metadata = result.getFamilyMap(Bytes.toBytes(dmshbasetablemetafamily));
        data.putAll(metadata);
        for (Map.Entry<byte[], byte[]> entry : data.entrySet())
            map.put(new String(entry.getKey()), new String(entry.getValue()));
        list.add(map);

    }
    if (list.isEmpty())
        return Optional.empty();

    List<JSONObject> jsonObj = new ArrayList<JSONObject>();

    for(Map<String, String> data : list) {
        JSONObject obj = new JSONObject(data);
        jsonObj.add(obj);
    }

    JSONArray test = new JSONArray(jsonObj);

    System.out.println(test.toString());

    writeCSV(test.toString());

    return Optional.of(list);
}

private void writeCSV(String list) {
    // TODO Auto-generated method stub

     try (PrintWriter writer = new PrintWriter(new File("hadoopconnection_test.csv"))) {

          StringBuilder stringbuilder = new StringBuilder();

          stringbuilder.append("DMSid");

          stringbuilder.append(',');

          stringbuilder.append("Payload");

          stringbuilder.append('\n');

          stringbuilder.append(dmsid);

          stringbuilder.append(',');

          stringbuilder.append(list);

          stringbuilder.append('\n');

          writer.write(stringbuilder.toString());

        System.out.println("Data Imported to CSV successfully Done------->");

        } catch (FileNotFoundException exception) {

          System.out.println(exception.getMessage());

        }

}

}


问:
Success Probability of FORS few time signature scheme
I was reading the FORS and DFORS Few-Time-Signature scheme. I understood the security of HORS Few time signature equals to $ (rk/t)^k $, but I could not understand the security of FORS is $ (r/t)^k $ as discussed in the following paper page no 5. [Hash based signatures Revisited]: https://eprint.iacr.org/2020/564.pdf

In FORS few time signature, How Adversary A who observed the signatures of r messages, finding a message $ m_{r+1} $ that is in an r−subset cover relation with the other r messages $ (C^{r-FORS}{k} (m{1}, m_{2}, . . . , m_{r+1})) $ has probability of success $(r/t)^κ $

I could not understand How to derive the success probability of FORS few time signature equals to $(r/t)^κ $??


问:
Grafana- TypeError: Cannot read properties of undefined (reading 'values')
When i try to Set a query and alert condition under the alert role I keep getting the below error. I search other blogs could not able to resolve this issue

```<code>An unexpected error happened
Details
TypeError: Cannot read properties of undefined (reading 'values')

    at ni (http://localhost:3000/public/build/AlertingRuleForm.f65c22acec748d21665e.js:145:233)
    at div
    at de (http://localhost:3000/public/build/9512.8f35f1c2de682ecc2973.js:2:92536)
    at li (http://localhost:3000/public/build/AlertingRuleForm.f65c22acec748d21665e.js:252:28)
    at div
    at de
</code>```

Query i was using:

```<code>from(bucket:"API_BE")
    |> range(start: -15m)
    |> filter(fn: (r) => r._measurement == "3 API competition")
    |> yield()
</code>```

Grafana Version: 9.3.2
(DataSource)Influx Db version: v2.6.0

I am running grafana and influxd in local machine(Windows:10)

Body:
When i try to Set a query and alert condition under the alert role I keep getting the below error. I search other blogs could not able to resolve this issue

An unexpected error happened
Details
TypeError: Cannot read properties of undefined (reading 'values')

    at ni (http://localhost:3000/public/build/AlertingRuleForm.f65c22acec748d21665e.js:145:233)
    at div
    at de (http://localhost:3000/public/build/9512.8f35f1c2de682ecc2973.js:2:92536)
    at li (http://localhost:3000/public/build/AlertingRuleForm.f65c22acec748d21665e.js:252:28)
    at div
    at de

Query i was using:

from(bucket:"API_BE")
    |> range(start: -15m)
    |> filter(fn: (r) => r._measurement == "3 API competition")
    |> yield()

Grafana Version: 9.3.2
(DataSource)Influx Db version: v2.6.0

I am running grafana and influxd in local machine(Windows:10)


问:
Alternative of the old CreateBrowserHistory() function in React Router v6
I want to push a new route in history of my app, and as you know, the UseHistory() hook and CreateBrowserHistory() function (to create a user-defined history) have been removed from new version of 6. I know that I can use UseNavigate hook and do this work with Navigate() function, but this hook cannot be called at the top level and must be called in a React function component. Codes below show how we could do this with React Router version 5.1:

Passing the history to the parent component and exporting the same history object for using it anywhere in Application:

```<code>import React from 'react'
import { Router } from 'react-router-dom'
import { createBrowserHistory } from 'history' // which comes along with React-Router

export const history = createBrowserHistory();

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
    <Router history={history}>
        <App />
    </Router>
)
</code>```

Using the exported history object in another place of Application at the top level:

```<code>switch (status) {
    case 404:
        history.push('/not-found');
        break
</code>```

if I want to do this at the top level in the new version of 6, What do you recommend?

Body:
I want to push a new route in history of my app, and as you know, the UseHistory() hook and CreateBrowserHistory() function (to create a user-defined history) have been removed from new version of 6. I know that I can use UseNavigate hook and do this work with Navigate() function, but this hook cannot be called at the top level and must be called in a React function component. Codes below show how we could do this with React Router version 5.1:

Passing the history to the parent component and exporting the same history object for using it anywhere in Application:

import React from 'react'
import { Router } from 'react-router-dom'
import { createBrowserHistory } from 'history' // which comes along with React-Router

export const history = createBrowserHistory();

const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement)
root.render(
    <Router history={history}>
        <App />
    </Router>
)

Using the exported history object in another place of Application at the top level:

switch (status) {
    case 404:
        history.push('/not-found');
        break

if I want to do this at the top level in the new version of 6, What do you recommend?